vue-data-ui-cli 1.0.20 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/boilerplate.js +2 -2
- package/index.js +1 -1
- package/package.json +1 -1
package/boilerplate.js
CHANGED
|
@@ -43,7 +43,7 @@ export default ({
|
|
|
43
43
|
<script setup${useTypescript ? ' lang="ts"' : ''}>
|
|
44
44
|
import { ${[useComputedConfig, useComputedDataset].includes(false) ? 'ref, ' : ''}${useComputedConfig || useComputedDataset ? 'computed ' : ''}} from "vue";
|
|
45
45
|
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
|
|
47
47
|
|
|
48
48
|
${!datasetType ? '' : `const dataset = ${useComputedDataset ? `computed${dsType}(() => {
|
|
49
49
|
return ${ds};
|
|
@@ -63,7 +63,7 @@ ${emitFuncs}
|
|
|
63
63
|
</script>
|
|
64
64
|
|
|
65
65
|
<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. */ }">
|
|
67
67
|
<VueDataUi
|
|
68
68
|
component="${component}"
|
|
69
69
|
${!datasetType ? '' : `:dataset="dataset"`}
|
package/index.js
CHANGED