refactor: 添加路径别名

This commit is contained in:
AncTe committed 2023-10-22 12:05:06 +08:00
1 parent f79cd57f75
commit 57498ea72e
13 files changed
+67 -55

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import resource from '../../data/resource.json';
import resource from '@/data/resource.json';
import { EmitableEvent, EventEmitter } from '../common/eventEmitter';
import { Resource, getTypeByResource } from './resource';
+2 -2
View File
@@ -1,7 +1,7 @@
import axios, { AxiosResponse } from 'axios';
import { Disposable } from '../common/disposable';
import { ensureArray } from '../../plugin/utils';
import { has } from '../../plugin/utils';
import { ensureArray } from '@/plugin/utils';
import { has } from '@/plugin/utils';
import JSZip from 'jszip';
import { EmitableEvent, EventEmitter } from '../common/eventEmitter';
import { loading } from './load';