Skip to content

Commit f15c008

Browse files
committed
build(storybook): update vue-loader
1 parent b29ac00 commit f15c008

File tree

4 files changed

+55
-119
lines changed

4 files changed

+55
-119
lines changed

.storybook/components/BaseCanvas.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99
</template>
1010

1111
<script>
12-
export default {
12+
import { defineComponent } from 'vue';
13+
14+
export default defineComponent({
1315
name: 'BaseCanvas',
14-
};
16+
});
1517
</script>
1618

1719
<style lang="css">

.storybook/preview.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
export const parameters = {};
44

55
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
6-
// export const decorators = [function BaseCanvasDecorator() {
6+
// function BaseCanvasDecorator() {
77
// return {
88
// components: { BaseCanvas },
99
// template: `
@@ -12,4 +12,6 @@ export const parameters = {};
1212
// </base-canvas>
1313
// `,
1414
// };
15-
// }];
15+
// }
16+
17+
// export const decorators = [BaseCanvasDecorator];

package-lock.json

Lines changed: 46 additions & 114 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"tsc-alias": "^1.2.9",
113113
"typescript": "^4.2.4",
114114
"vue": "^3.0.5",
115-
"vue-loader": "^15.9.6"
115+
"vue-loader": "^16.2.0"
116116
},
117117
"engines": {
118118
"node": ">= 14.15.4",

0 commit comments

Comments
 (0)