@yext/cobalt
v0.0.1
Published
a sub-generator for react features
Downloads
3,949
Maintainers
Keywords
Readme
Cobalt - Sub Generator for Yext Pages
Cobalt is a collection of installable features for Yext Pages, contributed by the Professional Services team at Yext.
Installation
Cobalt is already installed in Yext Pages sites using the site-starter-react-consulting starter
- Install package in your Yext Pages product
npm install --save-dev @yext/cobalt plop
- Add
plopfile.js
to your project's root
export default async (plop) => {
await plop.load("@yext/cobalt");
};
- Add generate script to
package.json
{
...
"scripts": {
...
"generate": "plop"
}
}
Usage
- Run plop
npm run generate
- Choose the 'Cobalt' generator from the list (if you only have one generator installed it will run it automatically)