1.0.1 • Published 4 years ago
riot-blog-template v1.0.1
RIOT V4 Blog Template
This is a simple riot v4 blog example application. It was created to showcase some of the useful features of Riot.js library. It is also dev and production ready and a good starting point for creating a Riot SPA. The application uses browser local storage for persistence.
Run locally
Download or clone this repo.
Install packages.
$ npm install
And then run the server using webpack-dev-server
or any possible way you know
$ npm start
To create a dev test build
$ npm run build-dev
To create a production build
$ npm run build
To run production or dev build
- Install live-server
- Goto public folder (/public)
- build dev or production packages
- Run live-server
$ npm install -g live-server
$ cd public
$ npm run build or npm run build-dev
$ live-server --entry-file=index.html