0.2.9 • Published 10 months ago
@visual-framework/create-vf-project v0.2.9
create-vf-project
Helps to create a new Visual Framework-based project.
Usage
yarn create @visual-framework/vf-project {your-new-site-name} {site-type}
{your-site-name}
will be the name of the destination directory{site-type}
can be any of the below options
Supported options
- Generic templates
- Generic build environments:
vf-build-boilerplate
- Eleventy projects:
vf-eleventy
- Design system:
vf-demo-design-system
- Generic build environments:
- Organisation specific-implementations
- Eleventy projects
Example
To make a vf-eleventy
based project:
yarn create @visual-framework/vf-project your-new-site-name vf-eleventy
Troubleshooting
If you're having trouble with yarn create
you can also try:
npx @visual-framework/create-vf-project {your-new-site-name} {site-type}
npx @visual-framework/create-vf-project testproject vf-eleventy
Developing the template
- Make any needed edits
- Bump the version number
- Run
yarn install
npm publish
Locally testing
To test before publishing to npm:
yarn start test-site-name vf-eleventy