Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.16 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.16 KB

Vieux example with ECMAScript 6

This project implements an example chat application with Vieux architecture. It demonstrates how a complex, stateful application should be built.

demo

Install

$ git clone --recursive [email protected]:vieuxio/example-chat-es6.git
$ cd example-chat-es6
$ npm install

Now you are ready to run the project. After you execute this command, the project will be built and you can open dist/index.html with your favorite browser.

$ npm run build:dev

Development

This project provides a development web server that listens on port 1973.

Run

$ npm run server

and the project will be ready for development and inspection. The server watches for file changes with hot reloading, so any change you make to the files under src folder will cause an automatic reload.

Production builds

When you are satisfied with development and want to make a production build in order to deploy the app, just run

$ npm run build:prod

and a minified, optimized bundle will be deployed under the dist folder.

Happy coding!