Slide 18
Slide 18 text
©ADWAYS DEEE Inc.
設定例
Vue関数の自動import
// .storybook/main.js
import AutoImport from 'unplugin-auto-import/vite'
const config = {
async viteFinal(config) {
config.plugins.push(
AutoImport({
include: [/\.[tj]sx?$/, /\.vue$/, /\.vue\?vue/,],
imports: ["vue", "vue-router"],
dts: false,
})
)
18