Socket
Book a DemoInstallSign in
Socket

boi-plugin-vue

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boi-plugin-vue

plugin for boi to build vue project

latest
Source
npmnpm
Version
0.0.7
Version published
Maintainers
1
Created
Source

boi-plugin-vue

license npm

plugin for boi to build vue project

Usage

Insert content into boi-conf.js:

boi.use('boi-plugin-vue',{
  // if extract css files or not
  extractCss: false,
  // extracted css' file name
  extractFilename: 'components',
  // css output path
  cssOutputDir: 'style',
  // add hash fingerprint to extract css files
  cssUseHash: true,
  // enable postcss
  enablePostCss: false,
  // enable lint to js&vue files
  enableLint: false
});

Options

extractCss

Boi would extract single css file if set extractCss as true.

  • Type: Boolean
  • Default: false

cssUseHash

Whether inject hash content into extracted css file.Works only when set extractCss as true.

  • Type: Boolean
  • Default: true

cssOutputDir

Specific extracted file's output directory.Works only when set extractCss as true.

  • Type: String,
  • Default: 'style'

extractFilename

Specific suffix of extracted file's name.Works only when set extractCss as true.

  • Type: String,
  • Default: 'components'

enablePostCss

Enable/Disable postcss.Use the same rule with Boi.

  • Type: Boolean,
  • Default: false

enableLint

Enable/Disable eslint.Use the same rule with Boi.

  • Type: Boolean,
  • Default: false

Keywords

boi

FAQs

Package last updated on 06 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts