Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,19 @@ const path = require('path');

module.exports = {
"stories": ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
"addons": ["@storybook/addon-links", "@storybook/addon-essentials", "storybook-dark-mode"],
"framework": "@storybook/vue3",
"core": {
"builder": "@storybook/builder-vite"

"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"storybook-dark-mode",
"@storybook/addon-mdx-gfm"
],

"framework": {
name: "@storybook/vue3-vite",
options: {}
},

viteFinal: async (config, { configType }) => {
config.resolve.alias = {
...config.resolve.alias,
Expand All @@ -15,5 +23,9 @@ module.exports = {
};

return config;
},

docs: {
autodocs: true
}
};
4 changes: 2 additions & 2 deletions build/base.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { resolve } from 'path';
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import Markdown from 'vite-plugin-md';
import Markdown from 'unplugin-vue-markdown/vite'

// https://vitejs.dev/config/
export default defineConfig({
Expand All @@ -15,6 +15,6 @@ export default defineConfig({
vue({
include: [/\.vue$/, /\.md$/],
}),
Markdown(),
Markdown({})
],
});
156 changes: 156 additions & 0 deletions migration-storybook.log

Large diffs are not rendered by default.

Loading