nexts - pushing client side javascript



When using SSR, you probably need to push some client side code. This requires some manual configuration.

First you need a folder called static (it has to be static, otherwise it won't work), place your javascipt code in it and then from your index.js or index.tsx.





And oh, you need to "Reload that page" / F5 

Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm