The homepage, welcome and onboarding site for the Visual Framework and its components.
You'll need to install npm and then:
- If you don't have
yarn
, install it - Install all the things
yarn install
- Generate the site in
/build
-
gulp dev
renders and serves -
gulp build
build static assets
-
To add a component, use the command line or install it manually.
- installation:
yarn add @visual-framework/vf-logo
- updating components:
yarn upgrade-interactive --latest
- alias:
yarn run update-components
- alias:
- Download a pattern
- Copy it to
./src/components/vf-component-name
- Why
yarn
and notnpm
? 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 useyarn upgrade-interactive --latest
, which makes it easier to update VF components.