Skip to content

Commit

Permalink
build(storybook): update vue-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
webistomin committed Apr 24, 2021
1 parent b29ac00 commit f15c008
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 119 deletions.
6 changes: 4 additions & 2 deletions .storybook/components/BaseCanvas.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
</template>

<script>
export default {
import { defineComponent } from 'vue';
export default defineComponent({
name: 'BaseCanvas',
};
});
</script>

<style lang="css">
Expand Down
6 changes: 4 additions & 2 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
export const parameters = {};

// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
// export const decorators = [function BaseCanvasDecorator() {
// function BaseCanvasDecorator() {
// return {
// components: { BaseCanvas },
// template: `
Expand All @@ -12,4 +12,6 @@ export const parameters = {};
// </base-canvas>
// `,
// };
// }];
// }

// export const decorators = [BaseCanvasDecorator];
160 changes: 46 additions & 114 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"tsc-alias": "^1.2.9",
"typescript": "^4.2.4",
"vue": "^3.0.5",
"vue-loader": "^15.9.6"
"vue-loader": "^16.2.0"
},
"engines": {
"node": ">= 14.15.4",
Expand Down

0 comments on commit f15c008

Please sign in to comment.