Skip to content

Commit

Permalink
chore: 抽取配置,方便修改
Browse files Browse the repository at this point in the history
  • Loading branch information
ZvonimirSun committed Feb 21, 2024
1 parent 517eafe commit 473d82d
Show file tree
Hide file tree
Showing 11 changed files with 310 additions and 77 deletions.
8 changes: 3 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,17 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
<meta name="theme-color" content="#f4f8fb">
<meta name="baidu-site-verification" content="code-tvQG0Qro0b" />
<link rel="preconnect" href="https://jsdelivr.cdn.iszy.xyz" crossorigin="anonymous">
<link rel="preconnect" href="https://jsdelivr.<%- cdnHost %>" crossorigin="anonymous">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
<title>ISZY工具集合</title>
<title><%- zhName %></title>
</head>
<body>
<noscript>
<strong>We're sorry but ISZY Tools doesn't work properly without JavaScript enabled. Please enable it to
<strong>We're sorry but <%- alias %> doesn't work properly without JavaScript enabled. Please enable it to
continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<script type="module" src="/src/main.ts"></script>
</body>
</html>
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
"unplugin-auto-import": "^0.17.5",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.1.3",
"vite-plugin-html": "^3.2.2",
"vite-plugin-pwa": "^0.19.0",
"vite-plugin-vue-devtools": "^7.0.15",
"vitest": "^1.3.0",
Expand Down
192 changes: 188 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
>
<div class="header">
<router-link to="/">
ISZY工具集合
{{ config.zhName }}
</router-link>
</div>
<div
Expand Down Expand Up @@ -101,6 +101,7 @@ import { deleteParam, setParam, hasParam } from '@/utils/hashHandler.js'
import { useRegisterSW } from 'virtual:pwa-register/vue'
import zhCN from 'element-plus/es/locale/lang/zh-cn'
import $axios from '@/plugins/Axios'
import config from '@/config'
const {
offlineReady,
Expand Down
Loading

0 comments on commit 473d82d

Please sign in to comment.