Installation
Add captain-vane and captain-vane-generator development dependencies to your project. Add captain-vane
and captain-vane-generator
development dependencies to your project:
bash
npm i --save-dev captain-vane captain-vane-generator
or
bash
yarn add -D captain-vane captain-vane-generator
Then, add captain-vane-generator
to the generators
section of .sailsrc
:
json
{
"generators": {
"modules": {
"factory": "captain-vane-generator"
}
}
}