plugin for boi to build vue project
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
});
Boi would extract single css file if set
extractCss
astrue
.
- Type:
Boolean
- Default:
false
Whether inject hash content into extracted css file.Works only when set
extractCss
astrue
.
- Type:
Boolean
- Default:
true
Specific extracted file's output directory.Works only when set
extractCss
astrue
.
- Type:
String
, - Default:
'style'
Specific suffix of extracted file's name.Works only when set
extractCss
astrue
.
- Type:
String
, - Default:
'components'
Enable/Disable postcss.Use the same rule with Boi.
- Type:
Boolean
, - Default:
false
Enable/Disable eslint.Use the same rule with Boi.
- Type:
Boolean
, - Default:
false