Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.51 KB

File metadata and controls

51 lines (34 loc) · 1.51 KB

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

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

  1. Make any needed edits
  2. Bump the version number
  3. Run yarn install
  4. npm publish

Locally testing

To test before publishing to npm:

yarn start test-site-name vf-eleventy