Skip to content

Commit

Permalink
staticfile挂了,切换到bootcdn
Browse files Browse the repository at this point in the history
  • Loading branch information
ljxi committed Dec 28, 2023
1 parent c78a556 commit 6c01e38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
<span>特别感谢:</span><br>
<el-link @click='open("https://www.kuocaicdn.com/register?code=8z8urvbg2ffd9")' type="primary">括彩科技</el-link><span>提供免费稳定的CDN服务</span><br>
<el-link @click='open("https://staticfile.org/")' type="primary">七牛云</el-link><span>提供免费稳定的前端静态资源分发服务</span><br>
<el-link @click='open("https://www.bootcdn.cn/")' type="primary">BootCDN</el-link><span>提供免费稳定的前端静态资源分发服务</span><br>
<br>
<span>本项目用到的开源库:</span><br>
<el-link @click='open("https://github.com/vuejs/core")' type="primary">Vue</el-link>&nbsp
Expand Down
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export default defineConfig({
plugins: [
vue(),
importToCDN({
prodUrl: 'https://cdn.staticfile.org/{name}/{version}/{path}',
// prodUrl: 'https://cdn.staticfile.org/{name}/{version}/{path}',
prodUrl: 'https://cdn.bootcdn.net/ajax/libs/{name}/{version}/{path}',
modules: [
{
name: "echarts",
Expand Down

0 comments on commit 6c01e38

Please sign in to comment.