A semi-professional site powered by the Visual Framework 2.0
- You'll need to install npm
- If you don't have
yarn
, install it - Install all the things
yarn install
- Generate the site in
/build
gulp dev
renders and servesgulp 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
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
- 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.