@visual-framework/vf-componenet-rollup
v1.4.11
Published
vf-componenet-rollup component
Downloads
20
Readme
Component Rollup component
About
The vf-componenet-rollup
compiles component Sass and JS into style.css and scripts.js files, retrospectively.
Install
You'll likely want to configure this component to include or exclude Sass and JS files, we suggest cloning it to your local ./src/components
.
Get an tarball of this component with:
yarn pack @visual-framework/vf-componenet-rollup
However for very generic VF projects, this component is also distributed with npm. After installing npm, you can install vf-componenet-rollup
with this command.
$ yarn add --dev @visual-framework/vf-componenet-rollup
Sass/CSS
Unlike other components, you probably won't want to @import
this. Instead the vf-core
project will compile this into a style.css and scripts.js.
Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter