Newer
Older
DH_Apicture / vite / plugins / auto-import.js
@zhangqy zhangqy on 29 Nov 244 bytes first commit
  1. import autoImport from 'unplugin-auto-import/vite'
  2.  
  3. export default function createAutoImport() {
  4. return autoImport({
  5. imports: [
  6. 'vue',
  7. 'vue-router',
  8. 'pinia'
  9. ],
  10. dts: false
  11. })
  12. }