Web project starter kit including modern tools and workflow based on angular-cli, best practices from the community, a scalable base template and a good learning base.
Generated using ngX-Rocket.
- Go to project folder and install dependencies:
npm install
- Launch development server, and open
localhost:4200
in your browser:
npm start
If the following error appears:
ERROR in ./src/assets/tiff.js/tiff.min.js
Module not found: Error: Can't resolve 'crypto' in '/home/ovs-dl/git/starter-kit/src/assets/tiff.js'
ERROR in ./src/assets/tiff.js/tiff.min.js
Module not found: Error: Can't resolve 'fs' in '/home/ovs-dl/git/starter-kit/src/assets/tiff.js'
On every update of node packages, edit this according to src:
node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/browser.js
From
node: false;
to
node: { crypto: true, stream: true, fs: 'empty', net: 'empty' }
dist/ compiled version
docs/ project docs and coding guides
e2e/ end-to-end tests
src/ project source code
|- app/ app components
| |- core/ core module (singleton services and single-use components)
| |- shared/ shared module (common components, directives and pipes)
| |- app.component.* app root component (shell)
| |- app.module.ts app root module definition
| |- app-routing.module.ts app routes
| +- ... additional modules and components
|- assets/ app assets (images, fonts, sounds...)
|- environments/ values for various build environments
|- theme/ app global scss variables and theme
|- translations/ translations files
|- index.html html entry point
|- main.scss global style entry point
|- main.ts app entry point
|- polyfills.ts polyfills needed by Angular
+- test.ts unit tests entry point
reports/ test and coverage reports
proxy.conf.js backend proxy configuration
Run npm start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change
any of the source files.
You should not use ng serve
directly, as it does not use the backend proxy configuration by default.