npm i
npm run buildThe contents of public/ can be deployed to any static file http server.
npm run devA server will be started automatically, probably at http://localhost:5000 (serve should copy the url to your clipboard)
npm t- All
.jsfiles inroutesmust export a state object to be passed to abstract-state-router'saddState - Anything in
libcan be imported withimport 'lib/[whatever.js]without having to use relative paths - Because of this, anything in
routesshouldn't have to use relative paths to access any files outside of that directory tree .htmlfiles inclient/static-htmlwill be automatically slurped up during the build- it is safe to wipe out that directory and overwrite it with new html files
- to give the static files friendly names, edit
lib/static-html-page-names.js
- All
.cssfiles inrouteswill be automatically slurped up- they will be processed with precss and autoprefixer and any other PostCSS plugins we want
- these slurped-up files can import any css files in
client/global-csswithout having to use relative paths:@import "filename-without-extension";
- All <style> blocks in components will be slurped up and processed like the
.cssfiles. For now, this is the preferred way to style components.