Helps to create a new Visual Framework-based project.
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
- 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
To make a vf-eleventy
based project:
yarn create @visual-framework/vf-project your-new-site-name vf-eleventy
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
- Make any needed edits
- Bump the version number
- Run
yarn install
npm publish
To test before publishing to npm:
yarn start test-site-name vf-eleventy