简体   繁体   中英

Angular Schematics

I have an issue when I run a new custom schematic in a real project, I get the following error:

classify is not defined

I have a typescript file template into my schematics project:

export class <%= classify(singularize(name)) %> {

}

I built my schematic and I created the npm link into my Angular project. I use Angular 7.

Do I have to install any package into my Angular project? Any help please?

Fixed. I had a classify function commented.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM