@visual-framework/vf-content

vf-content component

Usage no npm install needed!

<script type="module">
  import visualFrameworkVfContent from 'https://cdn.skypack.dev/@visual-framework/vf-content';
</script>

README

Content Area component

npm version

About

This container adds support for long form content where it may not be practical to assign classes, such as Markdown or WYSIWYG text.

Usage

It also makes some adjustments for longer form text, such as vertical spacing and making visited links purple.

This container adds basic support for p, ul, hr, a and other core html elements.

Some components may also add specific support for .vf-content

Install

This component is distributed with npm. After installing npm, you can install the vf-content with this command.

$ yarn add --dev @visual-framework/vf-content

Sass/CSS

The source files included are written in Sass(scss). You can point your Sass include-path at your node_modules directory and import it like this.

@import "@visual-framework/vf-content/index.scss";

Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter

Help