Repo for https://livecamp.wwwid.org
- Install all dependencies
npm install - Run development server
npm run dev
- Make sure Firebase hosting already setup
- Build app
npm run build - Deploy
npm run deploy
This web app is using Roll up as a bundler, and it's only bundle the app to ES6 module. For development server it's use superstatic but you need to call npm run dev to use it because it's need Rollup to serve the code.
App structure:
- Directory
srcis all you need to work with - Once it build it or call
npm run devit will serve all those source fromdistdirectory with auto build everytime you save your changes. - All pages are in
src/routesdirectory. - Template file for layout is
src/t-shell.js, you can find router setup also there if you want to add new a page or route.