/riotjs-webpack

Minimal riotjs based boilerplate with Webpack 3 and Bulma CSS

Primary LanguageJavaScript

RiotJS & Webpack 3 boilerplate

https://pmcalabrese.github.io/riotjs-webpack/

Features:

  • ES6
  • Bulma CSS
  • Webpack 3
  • Tree shaking
  • Code splitting
  • Support for SCSS
  • Service Worker with sw-precache https://github.com/GoogleChrome/sw-precache
  • Minimal footprint (the entire boilerplate index page is 50K including CSS)
  • Manifest file
  • Good lighthouse score
  • Routing with riot-route

Install

npm install

Run locally for development

npm start

Build for production

npm run build

Build for production and run on a local server

npm run build-serve