Zengine Plugin Generator for Yeoman
npm install @zenginehq/generator-zn-plugin> Yeoman Generators for Zengine Plugins
If you don't have yeoman.io installed
```
npm install -g yo
Then install the generator:
`Remove unsupported deprecated generator
npm uninstall -g generator-zn-plugin
You can then keep it up to date with:
`
npm upgrade -g @zenginehq/generator-zn-plugin
`Zengine V2 Plugins
As of the latest release the generator will only generate V2 plugins.
You can always
npm install -g @zenginehq/generator-zn-plugin@legacy if you need V1 plugin support.See Zengine Migrator for more info on V1 vs V2 Zengine plugins.
Usage
* @zenginehq/zn-plugin
* @zenginehq/zn-plugin:backend
* @zenginehq/zn-plugin:frontend
$3
`bash
change to your projects directory
cd Projectsrun yo
yo @zenginehq/zn-plugin zn-plugin-demothen install npm modules
cd zn-plugin-demonpm install
`$3
`bash
change to your plugin directory
cd zn-plugin-demorun yo
yo @zenginehq/zn-plugin:backend my-test-apithen install npm modules
cd my-test-apinpm install
`$3
`bash
change to your plugin directory
cd zn-plugin-demorun yo
yo zn-plugin:frontend my-test-uithen install npm modules
cd my-test-uinpm install
``See the contributing.