Comments (2)
Its a little odd that you would use mention using ng generate
instead of ng g
in an issue about command length.
To achieve what @nrwl/schematics has you'll need to modify your angular.json and add a cli entry if there isn't one. The cli entry should be an object - you'll need a line in it that says "defaultCollection": "@ngxs/schematics"
If you're in a Nrwl Nx workspace you will already have this value set to '@nrwl/schematics'. Know that changing this means that now to use any nrwl schematics you'll have to use the longform - ng g @nrwl/schematics:library
There's also the option of using Angular Console (another nrwl project) when Ngxs integration is ready. You'll notice that even in Angular Console nrwl's own commands are the longer version as it doesn't use the workspace's default collection.
from schematics.
Thank you for the guide. I'll follow it 👍
from schematics.
Related Issues (19)
- State generation with addition to module HOT 2
- Add schema property to schematics providing CLI hints and Angular Console support HOT 6
- An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID HOT 10
- @ngxs/schematics should be added to devDependencies HOT 10
- Consistent Behavior: support --project, treat first arg as --name HOT 2
- Generating examples HOT 1
- Add tsconfig path HOT 1
- Needs to support the `flat` flag
- @schematics/angular:component not getting respected when using "defaultCollection": "@ngxs/schematics" HOT 5
- ng add @ngxs/store HOT 1
- Add ngxs schematics docs HOT 1
- Secure alert HOT 1
- Generated files should follow OS line endings HOT 1
- Cannot found @ngxs/schematics package on npm HOT 6
- Schematic should support lint via option --lint-fix
- Action Required: Fix Renovate Configuration
- ng add adds 1.0.0 of @ngxs/schematics to package, which doesn't exist HOT 5
- Behave more similarly to Angular's schematics HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from schematics.