angular-boilerplate | Angular 2 boilerplate with best practices | Continuous Deployment library
kandi X-RAY | angular-boilerplate Summary
kandi X-RAY | angular-boilerplate Summary
Angular 2 boilerplate with best practices (docker, angular-cli, docker-compose, CI, CD, etc.)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of angular-boilerplate
angular-boilerplate Key Features
angular-boilerplate Examples and Code Snippets
Community Discussions
Trending Discussions on angular-boilerplate
QUESTION
When I click on my Register link it goes to the proper URL but nothing is displayed
routing code:
...ANSWER
Answered 2018-Jul-15 at 04:28Based on the comments above, actually the tutorial uses ng-view in the index.html. Since you have not given the whole modules involved in the application, it is harder to identify the issues.
It's better if you go through the official documentation
and compare what you've done it wrong.
Also here is the working Demo
of the above tutorial i found on GitHub. Hopefully this would help and you can modify according to the way you need.
QUESTION
I pulled down an older angular project of ours (maybe 6 months) and wanted to use it as a template. When I run it, I get the errors below. I googled and read a couple of links on google. None of them have suggestions past upgrading the versions of some packages, like angular/cli, which I did. I am at a bit of a loss on how to troubleshoot this.
I am having a hard time narrowing it down to a file too. Seems to be an issue with something called raw-loader
, but that's not in my package json (guess its a dependency of something) and it looks like this, which obviously isn't the issue:
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
module.exports = function(content) {
this.cacheable && this.cacheable();
this.value = content;
return "module.exports = " + JSON.stringify(content);
}
module.exports.seperable = true;
Installed package versions, if relevant:
angular-boilerplate@0.0.0 C:\code\go-local
+-- @angular/animations@4.4.6
+-- @angular/cli@1.7.2
+-- @angular/common@4.4.6
+-- @angular/compiler@4.4.6
+-- @angular/compiler-cli@4.4.6
+-- @angular/core@4.4.6
+-- @angular/forms@4.4.6
+-- @angular/http@4.4.6
+-- @angular/platform-browser@4.4.6
+-- @angular/platform-browser-dynamic@4.4.6
+-- @angular/router@4.4.6
+-- @types/jasmine@2.5.38
+-- @types/node@6.0.101
+-- angulartics2@2.5.0
+-- codelyzer@2.0.1
+-- core-js@2.5.3
+-- crds-ng2-content-block@1.1.1
+-- crds-reactive-auth@0.0.1 (git://github.com/crdschurch/crds-reactive-auth.git#a73d58905ca917badbd88131a92cf8c29f3cd629)
+-- crds-styles@2.2.1 (git://github.com/crdschurch/crds-styles.git#92c7c1926a2e3109401ddb583ebaa27cc9aa7221)
+-- intl@1.2.5
+-- jasmine-core@2.5.2
+-- jasmine-spec-reporter@3.2.0
+-- karma@1.4.1
+-- karma-chrome-launcher@2.0.0
+-- karma-cli@1.0.1
+-- karma-coverage-istanbul-reporter@0.2.3
+-- karma-jasmine@1.1.1
+-- karma-jasmine-html-reporter@0.2.2
+-- karma-mocha-reporter@2.2.5
+-- karma-phantomjs-launcher@1.0.4
+-- karma-teamcity-reporter@1.1.0
+-- ng2-mock-component@0.1.1
+-- ng2-toastr@4.1.2
+-- protractor@5.1.2
+-- rxjs@5.4.3
+-- ts-node@2.0.0
+-- tslint@4.5.1
+-- typescript@2.3.4
``-- zone.js@0.8.20
npm ERR! peer dep missing: ajv@^6.0.0, required by ajv-keywords@3.1.0
npm ERR! peer dep missing: ajv@^6.0.0, required by ajv-keywords@3.1.0
ANSWER
Answered 2018-Mar-05 at 22:21It looks like the cli cannot get to some gyphicons used in bootstrap. I have run into this before and I would make sure your styles section in the angular-cli.json has a reference to the bootstrap directory in node_modules. Hope this helps.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install angular-boilerplate
You need docker and docker-compose available, so please set up teracy-dev as the following described steps works with teracy-dev. Note that the 1st terminal window after $ vagrant up should be kept running for file watching.
Open the 2nd terminal window, git remote add angular-boilerplate repo as seed and pull the stable branch (master) or development branch (develop) into your project.
On the 4th terminal ssh-ed terminal window:. to build the project and the prod Docker image. The build artifacts will be stored in the dist/ directory. Don't forget to sync back the generated files from the VM to the host after the build if you want to check the dist/ directory.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page