@visual-framework/vf-code-example

1.3.0 • Public • Published

Code Example component

npm version

About

If you're using the VF Nunjucks environment, you can utilise the {% codeblock 'html' -%}{% endcodeblock %} tag to assist generating pre-formatted content.

Install

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

$ yarn add --dev @visual-framework/vf-code-example

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-code-example/index.scss";

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

Help

Readme

Keywords

Package Sidebar

Install

npm i @visual-framework/vf-code-example

Weekly Downloads

354

Version

1.3.0

License

Apache 2.0

Unpacked Size

25.1 kB

Total Files

11

Last publish

Collaborators

  • bhushan-ebi
  • pacope92
  • ebiwebdev
  • sandykadam
  • khawkins98