mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-04 13:42:27 +08:00
调整vite/client的加载方式
This commit is contained in:
@@ -20,9 +20,6 @@
|
|||||||
"dom",
|
"dom",
|
||||||
"esnext"
|
"esnext"
|
||||||
],
|
],
|
||||||
"types": [
|
|
||||||
"vite/client"
|
|
||||||
],
|
|
||||||
"typeRoots": [
|
"typeRoots": [
|
||||||
"./node_modules/@types/",
|
"./node_modules/@types/",
|
||||||
"./types"
|
"./types"
|
||||||
|
|||||||
1
types/modules.d.ts
vendored
1
types/modules.d.ts
vendored
@@ -1,3 +1,4 @@
|
|||||||
|
/// <reference types="vite/client" />
|
||||||
declare module '*.vue' {
|
declare module '*.vue' {
|
||||||
import { DefineComponent } from 'vue';
|
import { DefineComponent } from 'vue';
|
||||||
const Component: DefineComponent<{}, {}, any>;
|
const Component: DefineComponent<{}, {}, any>;
|
||||||
|
|||||||
Reference in New Issue
Block a user