Newer
Older
KaiFengPC / vite / plugins / auto-import.js
@zhangdeliang zhangdeliang on 23 May 244 bytes 初始化项目
import autoImport from 'unplugin-auto-import/vite'

export default function createAutoImport() {
    return autoImport({
        imports: [
            'vue',
            'vue-router',
            'pinia'
        ],
        dts: false
    })
}