Tools needed to run this app:
nodeandnpm
forkthis repocloneyour forknpm installto install dependencies
NG6 uses Gulp to build and launch the development environment. After you have installed all dependencies, you may run the app. Running npm start will bundle the app with webpack, launch a development server, and watch all files. The port will be displayed in the terminal.
Here's a list of available tasks:
npm run build- runs Webpack, which will transpile, concatenate, and compress (collectively, "bundle") all assets and modules into
dist/bundle.js. It also preparesindex.htmlto be used as application entry point, links assets and created dist version of our application.
- runs Webpack, which will transpile, concatenate, and compress (collectively, "bundle") all assets and modules into
npm run serve- starts a dev server via
webpack-dev-server, serving the client folder.
- starts a dev server via
npm run watch- alias of
serve
- alias of
npm start(which is the default task that runs when typinggulpwithout providing an argument)- runs
serve.
- runs
npm run component- scaffolds a new Angular component. Read below for usage details.
To run the tests, run npm test.