khawkins98 / allaboutken-11ty

The new site

Home Page:https://AllAboutKen.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

allaboutken-11ty

A semi-professional site powered by the Visual Framework 2.0

3. Developing your new site

  1. You'll need to install npm
  2. If you don't have yarn, install it
  3. Install all the things
    • yarn install
  4. 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 update-components

Manual installation for customisation

  1. Download a pattern
  2. Copy it to ./src/components/vf-component-name

Create your own local component

You can add a custom VF-compatible component to ./src/components and use it in your site.

  • gulp vf-component

You'll find a vf-sample component already placed in ./src/components

4. Footnotes

  • Why yarn and not npm? For the particular structure of the Visual Framework components, Yarn is considerably faster at installing and does so more efficiently (about half the total file size). You'll also be able to use yarn upgrade-interactive --latest, which makes it easier to update VF components.

About

The new site

https://AllAboutKen.com


Languages

Language:Nunjucks 72.6%Language:JavaScript 20.2%Language:SCSS 6.8%Language:HTML 0.4%