This project implements an example chat application with Vieux architecture. It demonstrates how a complex, stateful application should be built.
$ 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
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.
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!