4.1.1 • Published 9 years ago
@domoinc/da-plop v4.1.1
da-plop
A plopfile of angular components for the Domo Apps team.
Install
$ npm install @domoinc/da-plop --save-dev
$ npm install -g plop
Usage
In the root of your project, create a plopfile.js file with the following contents:
module.exports = require('@domoinc/da-plop');run $ plop [type] in your terminal and follow the prompts to scaffold common code partials.
plop types
- factory
- component
- filter
- route
See the examples folder for more info
Testing Localy
- In the root dir:
touch plopfile.jsecho "module.exports = require('./');" > plopfile.jsmkdir srcplop
Make sure you don't commit the plopfile.js or the src/
More details coming soon.