vcl-build-demo

Contains Gulp tasks and an HTML scaffold to build demo pages for VCL repos

Usage no npm install needed!

<script type="module">
  import vclBuildDemo from 'https://cdn.skypack.dev/vcl-build-demo';
</script>

README

VCL build-demo

This module contains:

  • A Gulp tasks to build and serve demos of VCL modules.
  • HTML scaffold used for all demos.

Building a demo means to:

  • Build the CSS from the specified devDependencies in the module and write them to the build folder.
  • Take the demo files from the demo folder, wrap them with the index.html template from this module and write them to the build folder. The rendered template contains the includes to the generated CSS.

On installation, this module will copy its Gulpfile.js to the root folder of its parent module.