NX Plugin JetBrains 自定义合集

问题描述

我想创建自定义集合,以便为我的 Angular 项目轻松生成库或组件。

NX 插件

enter image description here

所以我将 @test/angular:component 添加到我的 angular.json 但它没有出现在我的 nx 插件

angular.json

{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json","version": 1,"newProjectRoot": "","projects": {...},"defaultProject": "nida-web","schematics": {
    "@schematics/angular:component": {
      "changeDetection": "Default","export": false,"flat": false,"inlinestyle": false,"inlineTemplate": false,"module": "","prefix": "","skipImport": false,"spec": true,"styleext": "scss","viewEncapsulation": "Emulated"
    },"@schematics/angular:module": {
      "commonModule": true,"routing": false,"routingScope": "Child","spec": true
    },"@schematics/angular:service": {
      "flat": true,"@schematics/angular:pipe": {
      "export": false,"flat": true,"@schematics/angular:directive": {
      "export": false,"prefix": "app","selector": "","@schematics/angular:class": {
      "spec": true
    },"@nrwl/angular:application": {
      "style": "scss","linter": "eslint","unitTestRunner": "jest"
    },"@nrwl/angular:library": {
      "style": "scss","@nrwl/angular:component": {
      "style": "scss"
    },"@test/angular:component": {
      "style": "scss"
    }
  },"cli": {
    "analytics": false,"defaultCollection": "@nrwl/angular"
  }
}

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...