This is an example AngularJS ES6 app that utilizes the components architecture and built with Webpack.
The main purpose of that app is to demonstrate the approach that gives you the "escape hatch" to migrate your existing AngularJS app to React, Vue or Angular(2+) or at least to make your dev experience more pleasant.
- Node.js
>=v8.x.x
- ESLint plugin for your favorite IDE/Code Editor
- EditorConfig plugin for your favorite IDE/Code Editor
Clone project repository.
git clone git@github.com:vitaliiburlaka/github-startz-angularjs-webpack.git
Run the following command from the project's directory.
npm install
To start the dev server run following command from the project's directory.
It will start local http server at the http://localhost:8080
by default.
npm start
To build optimized bundle run following command.
It will emit optimized and minified bundle to the ./dist directory
npm run build
npm run analyze
To check code for common errors or style problems run:
npm run lint
To check the code and fix the issues run:
npm run lint:fix
@toddmoto toddmotto.com for great source of information about the AngularJS.
@webpack webpack.js.org for the awesome tool.
@react reactjs.org that showed the better way to build UI.