{"repo":"visual-framework/vf-eleventy","free":true,"listed":false,"github":"https://github.com/visual-framework/vf-eleventy","clone":"git clone https://github.com/visual-framework/vf-eleventy.git","description":"An 11ty boilerplate with Visual Framework component integration","language":"JavaScript","stars":10,"topics":["11ty","eleventy","static-site-generator","boilerplate","visual-framework"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Eleventy boilerplate for Visual Framework 2.0 This incorporates the 11ty static site generator with direct access to Visual Framework 2.0 components. 1. Creating a new project powered by vf-eleventy There are two methods you can use: 1. Use the interactive yarn template [RECOMMENDED] - If you don't have npm, install it - The create-vf-project allows you to interactively create a new site by typing yarn create @visual-framework/vf-project your-new-site-name - Follow the prompts 1. The GitHub template - Click the \"Use this template\" method; quick url: https://github.com/visual-framework/vf-eleventy/generate - Follow the prompts and then clone the new project to your local machine 2. Configuring your new site - In package.json update vfConfig - In eleventy.js update pathPrefix - Update ./src/site/ data/siteConfig.js - If you need any ad hoc CSS and JS, add it in ./src/components/vf-local-overrides Otherwise configure gulp and eleventy as you would for any other project. 3. Developing your new site 1. You'll need to install npm 1. If you don't have yarn , install it - https://yarnpkg.com/lang/en/docs/install/ 1. Install all the things - yarn install 1. Generate the site in /build - gulp dev renders and serves - gulp build build static assets 4. Adding Visual Framework components To add a component, use the command line or install it manually. By package - installation: yarn add @visual-framework/vf-logo - updating components: yarn upgrade-interactive --latest - alias: yarn run up","default_branch":null,"files":null,"tree":[],"storefront":"/r/visual-framework","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/visual-framework/vf-eleventy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}