The vf-componenet-rollup
compiles component Sass and JS into style.css and scripts.js files, retrospectively.
<!-- The vf-component-rollup does not have an html output,
it is only used to collect css and js for a project. -->
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
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
vf-collapse
component. Tracking issuevf-explainer
component. Tracking issuevf-masthead
.buildTimeStamp
from componentInfo
to Sass templatevf-stack
'vf-banner/vf-banner--alerts.scss';
File system location: components/vf-componenet-rollup
Find an issue on this page? Propose a change or discuss it.