[Work In Progress] Directory based navigation for markdown reader application.
- Run
npm install
- Generate
tree.json
by runningnode index.js
- Serve
index.html
as static content (ex:localhost
)
- Run
npm run watch
(without serving) - Run
npm run dev
(with serve atlocalhost:8080
)
- Run
npm run build
- Run
npm run build-es5
to support es5
- Run
npm run stats
- Run
npm run stats-es5
to support es5
- id, to create a static slug for url
- title, as a filename or foldername alias
- order, represented an order sequence of file and folder
- description, file or folder description
- Minify HTML, CSS, JS
- Assets Hashing
- ES5 + Polyfill to Support Edge and IE11
- Gzip compression
- Use ESM as long as possible to leverage Tree Shaking Ability
- Component based CSS
- Service Worker
- Server-side Rendering
- Implement purgecss-webpack-plugin to reduce
bulma
size