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

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