@frontvue/plugin-stylus
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Frontvue-Plugin-Stylus

Build Status codecov Commitizen friendly semantic-release

A Frontvue plugin for Stylus boilerplate and processing

This plugin will be one of the available options to choose from when you configure a new project using Frontvue. It handles Stylus files and comes with a boilerplate template of stylus partials. It comes with the following tasks:

  • stylus:config — registers a configuration questionnaire;
  • stylus:template — copies the Stylus boilerplate template (w.i.p);
  • stylus:clean — removes the build folder;
  • stylus:process — handles linting and compiling of Stylus partials;
  • stylus:watch — starts listeners for changes in Stylus partials;

Default configuration

{
  // Source files directory name
  sourceDir: 'stylus',

  // Source entry point file (all other partials are imported into this main file)
  entryPoint: 'app.styl',

  // Directory name where the CSS file will be created
  buildDir: 'css',

  // Name of the compiled CSS file
  buildFilename: 'app.css',
}

/@frontvue/plugin-stylus/

    Package Sidebar

    Install

    npm i @frontvue/plugin-stylus

    Weekly Downloads

    3

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    66.4 kB

    Total Files

    27

    Last publish

    Collaborators

    • 0vidiu