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 aplopfile.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.js
echo "module.exports = require('./');" > plopfile.js
mkdir src
plop
Make sure you don't commit the plopfile.js or the src/
More details coming soon.