A very simple static website
Use CSS Modules with next-css with PostCSS Plugins
Use ReactJS to create UI Components, build your own components
Create isolated JavaScript functions which will help you test your code.
Just run yarn dev
You can use yarn export
to generate static files into the ./out
folder.
You can also use yarn start
to start a nodejs process with optimized files, in this repo I'll focus on the output of the yarn export
command.
Run yarn preview
to generate all the optmized static files and serve it under http://localhost:5000
Currently I'm working on this url approach
/
/en
/es
/blog
/es/blog
/en/blog
/application
/en/application
/es/application