vue-cli-plugin-vuestic-ui
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -8,3 +8,3 @@ module.exports = { | ||
dependencies: { | ||
'vuestic-ui': '^1.4.1', | ||
'vuestic-ui': '^1.4.7', | ||
} | ||
@@ -11,0 +11,0 @@ }, |
@@ -5,18 +5,16 @@ module.exports = { | ||
"import { createVuesticEssential, VaButton } from 'vuestic-ui'", | ||
"import 'vuestic-ui/css'", | ||
// "import 'vuestic-ui/styles/essential.css'", | ||
"import 'vuestic-ui/styles/essential.css'", | ||
] | ||
// TODO: Move back when CSS code split will work good | ||
// if (answers.treeshakingOptions.includes('grid')) { | ||
// strings.push("import 'vuestic-ui/styles/grid/grid.css'") | ||
// } | ||
if (answers.treeshakingOptions.includes('grid')) { | ||
strings.push("import 'vuestic-ui/styles/grid.css'") | ||
} | ||
// if (answers.treeshakingOptions.includes('normalize')) { | ||
// strings.push("import 'vuestic-ui/styles/global/normalize.css'") | ||
// } | ||
if (answers.treeshakingOptions.includes('normalize')) { | ||
strings.push("import 'vuestic-ui/styles/reset.css'") | ||
} | ||
// if (answers.treeshakingOptions.includes('typography')) { | ||
// strings.push("import 'vuestic-ui/styles/global/typography.css'") | ||
// } | ||
if (answers.treeshakingOptions.includes('typography')) { | ||
strings.push("import 'vuestic-ui/styles/typography.css'") | ||
} | ||
@@ -23,0 +21,0 @@ return strings |
{ | ||
"name": "vue-cli-plugin-vuestic-ui", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Vuestic UI plugin for Vue CLI v4+", | ||
@@ -5,0 +5,0 @@ "homepage": "https://vuestic.dev", |
@@ -12,29 +12,29 @@ // prompts.js | ||
}, | ||
// { | ||
// type: 'checkbox', | ||
// name: 'treeshakingOptions', | ||
// message: 'Select features that you want to use', | ||
// default: [ | ||
// 'grid', 'normalize', 'typography' | ||
// ], | ||
// when: (answers) => answers.treeshaking, | ||
// choices: [ | ||
// { | ||
// name: 'CSS Grid', | ||
// value: 'grid', | ||
// short: 'CSS Grid' | ||
// }, | ||
// { | ||
// name: 'Vuestic Normalize CSS module', | ||
// value: 'normalize', | ||
// short: 'Normalize CSS' | ||
// }, | ||
// { | ||
// name: 'Vuestic Typography module', | ||
// value: 'typography', | ||
// short: 'Typography' | ||
// } | ||
// ] | ||
// }, | ||
{ | ||
type: 'checkbox', | ||
name: 'treeshakingOptions', | ||
message: 'Select features that you want to use', | ||
default: [ | ||
'grid', 'normalize', 'typography' | ||
], | ||
when: (answers) => answers.treeshaking, | ||
choices: [ | ||
{ | ||
name: 'CSS Grid', | ||
value: 'grid', | ||
short: 'CSS Grid' | ||
}, | ||
{ | ||
name: 'Vuestic Normalize CSS module', | ||
value: 'normalize', | ||
short: 'Normalize CSS' | ||
}, | ||
{ | ||
name: 'Vuestic Typography module', | ||
value: 'typography', | ||
short: 'Typography' | ||
} | ||
] | ||
}, | ||
{ | ||
type: 'confirm', | ||
@@ -41,0 +41,0 @@ name: 'agGrid', |
8498
196