Nx Workspace with custom component schematics
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
apps
libs
tools
.editorconfig
.gitattributes
.gitignore
.prettierrc
README.md
angular.json
nx.json
package-lock.json
package.json
tsconfig.json
tslint.json

README.md

Custom schematics with nx workspace demo application

This project was generated with Angular CLI using Nrwl Nx.

This is a demo workspace with a custom angular cli component schematics.

Read the blog post to reproduce this example.

Instructions

  1. Clone this repository
  2. Run npm install
  3. To create a new custom component, run ng g demo-collection:custom-component TestPage --app=demo-app
  4. The component should be generated, you can now use it in a template <schematicsdemo-test-page></schematicsdemo-test-page>
  5. Run npm start to start the application on http://localhost:4200