This project can be found here: Demo
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Make sure you have your Github credentials setup correctly before you run the command to push.
git remote set-url origin https://<Username>:<password>@github.com/Vastra-Gotalandsregionen/komponentkartan-demo.git
Use release-command:
npm run release-gh
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
$/
src/
src/assets/
src/tests/
src/environments/
src/docs/
src/lib/
samples/
dist/
.gitignore
README.md
package.json
src
- Main projects (the product code)src/assets
- CSS, SASS files, images and other web contentsrc/tests
- Jasmine Test projectssrc/environments
- configuration for different environments, prod, qa, test etcsrc/docs
- Documentation stuff, markdown files, help files etc.src/lib
- Things that can NEVER exist in a npm package, only common code shared by your applicationsamples
(optional) - Sample projectsdist
(optional) - folder for all code you want to publish for npm or specific envrionment, must include a package.json file containing all relevant dependenciespackage.json
- magic
*.js
There's probably more things that go in the ignore file.
- Update: Added stuff