Skip to content

Commit 0fa3348

Browse files
committed
v1.0.21
1 parent 66c94b8 commit 0fa3348

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Diff for: boilerplate.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default ({
4343
<script setup${useTypescript ? ' lang="ts"' : ''}>
4444
import { ${[useComputedConfig, useComputedDataset].includes(false) ? 'ref, ' : ''}${useComputedConfig || useComputedDataset ? 'computed ' : ''}} from "vue";
4545
import { VueDataUi${useTypescript ? `,${['number', 'Array<Array<string | number>>', ''].includes(datasetType) ? '' : `type ${datasetType},`} type ${configType} }` : '}'} from "vue-data-ui";
46-
import "vue-data-ui/style.css";
46+
import "vue-data-ui/style.css"; // Consider importing the css in your main file
4747
4848
${!datasetType ? '' : `const dataset = ${useComputedDataset ? `computed${dsType}(() => {
4949
return ${ds};
@@ -63,7 +63,7 @@ ${emitFuncs}
6363
</script>
6464
6565
<template>
66-
<div :style="{ width: '600px' /** Set your styles for the chart wrapper */ }">
66+
<div :style="{ width: '600px' /** Set your styles for the chart wrapper. This wrapper is not necessary. */ }">
6767
<VueDataUi
6868
component="${component}"
6969
${!datasetType ? '' : `:dataset="dataset"`}

Diff for: index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ const supportedComponents = {
444444
})()
445445

446446
program
447-
.version('1.0.20')
447+
.version('1.0.21')
448448
.description('CLI to generate Vue Data UI component boilerplates')
449449
.action(async () => {
450450
const answers = await inquirer.prompt([

Diff for: package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-data-ui-cli",
3-
"version": "1.0.20",
3+
"version": "1.0.21",
44
"private": false,
55
"description": "A CLI tool to generate Vue Data UI chart component boilerplates",
66
"main": "index.js",

0 commit comments

Comments
 (0)