-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f2e13fa
commit 2f3cb89
Showing
3 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ | |
5. 过期缓存 | ||
6. 网络请求(axios) | ||
7. autoprefixer | ||
8. 移动端适配(vw) | ||
8. 移动端适配(vw) | ||
9. 低端机处理,(es6转es5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
import { defineConfig } from 'vite' | ||
import vue from '@vitejs/plugin-vue' | ||
import { defineConfig } from "vite"; | ||
import vue from "@vitejs/plugin-vue"; | ||
import legacy from '@vitejs/plugin-legacy'; | ||
|
||
export default defineConfig({ | ||
plugins: [vue()] | ||
}) | ||
base: "/xxxxxxxxx/", // 子路径 | ||
plugins: [ | ||
vue(), | ||
legacy({ | ||
targets: ["> 1%", "last 2 versions", "not ie <= 8"] | ||
}) | ||
], | ||
}); |