Skip to content

Commit

Permalink
refactor: 路由、国际化i18n转TS
Browse files Browse the repository at this point in the history
  • Loading branch information
jsxiaosi committed Oct 11, 2021
1 parent e231f31 commit 6931f6c
Show file tree
Hide file tree
Showing 19 changed files with 532 additions and 61 deletions.
1 change: 1 addition & 0 deletions build/vite/plugin/compress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export function configCompressPlugin(
const plugin: Plugin[] = [
viteCompression({
verbose: true,
disable: true,
threshold: 1500,
deleteOriginFile,
...options,
Expand Down
20 changes: 10 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
Loading

0 comments on commit 6931f6c

Please sign in to comment.