#Comprehensive Introduction to @ngrx/store By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
| // create a <test-span> element | |
| var myElement = document.registerElement('test-span', { | |
| prototype: Object.create(HTMLSpanElement.prototype), | |
| extends: 'span' | |
| }); | |
| // extend <test-span> to <test-span is="test-span-extended"> | |
| var myExtendedElement = document.registerElement('test-span-extended', { | |
| prototype: Object.create(myElement.prototype), | |
| extends: 'test-span' |
| const proxy = require('proxy-middleware'); | |
| import {join} from 'path'; | |
| import {SeedConfig} from './seed.config'; | |
| import {InjectableDependency} from './seed.config.interfaces'; | |
| export class ProjectConfig extends SeedConfig { | |
| PROJECT_TASKS_DIR = join(process.cwd(), this.TOOLS_DIR, 'tasks', 'project'); | |
| constructor() { |
#Comprehensive Introduction to @ngrx/store By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
| # if you use https://github.com/bitnami/bitnami-docker-discourse for your Discourse setup | |
| # you can simply add some plugins (https://meta.discourse.org/c/plugin): | |
| # 0) Clone docker-compose.yml | |
| curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-discourse/master/docker-compose.yml > docker-compose.ym | |
| # 1) Start Docker Compose | |
| docker-compose up | |
| # 2) Join container |
If you want to publish packages to your private registry, e.g. to jfrog.io/Verdaccio/... you should note some important things:
To authenticate against the private repository, you've to use the npm cli tool. But first you should get your API access token. That's safer than using your password.
npm adduser --registry https://<registry_url>/<api_path>/ --always-auth