A semi-professional site powered by the Visual Framework 2.0
yarn
, install it
yarn install
/build
gulp dev
renders and servesgulp build
build static assetsTo add a component, use the command line or install it manually.
yarn add @visual-framework/vf-logo
yarn upgrade-interactive --latest
yarn run update-components
./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
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.