Skip to content

Commit

Permalink
detele: 删除无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
wuwei committed May 15, 2024
1 parent 878aea0 commit 11e5f6e
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 9 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"build": "vite build"
},
"dependencies": {
"@ant-design/icons-vue": "^7.0.1",
"@tinymce/tinymce-vue": "^5.1.1",
"ant-design-vue": "^4.1.2",
"axios": "^1.6.8",
"dayjs": "^1.11.10",
"tinymce": "^7.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

<script setup>
import { ref, onMounted } from "vue";
import { decode360Url } from "../../utils";
import { decode360Url } from "@/utils/index.js";
const props = defineProps({
data: {
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/client/views/index/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<script setup>
import { onMounted, ref, watch } from "vue";
import { useRoute } from "vue-router";
import Wallpaper from "../components/Wallpaper/index.vue";
import Wallpaper from "@/components/Wallpaper/index.vue";
import { getNewestApi, getListByCategoryApi } from "./api";
import { decode360Url } from "../utils";
import { decode360Url } from "@/utils/index.js";
const route = useRoute();
Expand Down
4 changes: 1 addition & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ export default defineConfig({
chunkFileNames: "js/[name]-[hash].js", // 引入文件名的名称
entryFileNames: "js/[name]-[hash].js", // 包的入口文件名称
assetFileNames: "[ext]/[name]-[hash].[ext]", // 资源文件像 字体,图片等
manualChunks: {
antd: ["@ant-design/icons-vue"],
},
manualChunks: {},
},
// 告诉打包工具 在external配置的 都是外部依赖项 不需要打包
plugins: [externalGlobals({})],
Expand Down

0 comments on commit 11e5f6e

Please sign in to comment.