1
1
mirror of https://github.com/c8r/x0.git synced 2024-09-11 13:45:52 +03:00
x0/examples/bundle
2018-05-26 11:11:50 -04:00
..
pages Update bundle example 2018-05-25 11:46:00 -04:00
package.json Update example deps 2018-05-26 11:11:50 -04:00
README.md Update bundle example 2018-05-25 11:46:00 -04:00

x0 bundle example

npm install

Dev Server

npm start

Editing pages/index.js will live update in the development server.

Static Build

npm run build

This will save a bundle.js file which will rehydrate state in the index.html.

To view the output app, run a local server in the dist/ directory.