static.config.js: react-static config filetailwind.config.js: tailwind config filedist: Production build foldertmp: Dev build folderpublic: Static files that will be copied into distold: Old static HTML files that need to be converted to Reactsrc/components: React componentssrc/containers: React pagessrc/styles: SASS/CSS filessrc/utils: Utility functionssrc/App.js: Website layoutsrc/index.js: Entry point for React
# install dependencies
yarn install
# serve with hot reload at localhost:3000
yarn start
# build for staging
yarn stage
# build for production
yarn build
# serve production build
yarn serve
# format using prettier
yarn format- Run
yarn install - Run
yarn start - Go to http://localhost:3000/
- Go to static.config.js
- Add a route to the
getRoutesfunction
- Go to static.config.js
- Add meta tags to the
Documentfunction
- React Static - build system
- Tailwind - CSS framework