Skip to content

Commit

Permalink
docs: 优化文档
Browse files Browse the repository at this point in the history
  • Loading branch information
winixt committed Jul 20, 2023
1 parent f203fa5 commit 5790d52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/.vitepress/theme/components/exampleRepl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const props = defineProps({
});
const store = new ReplStore({
defaultVueRuntimeURL: `https://unpkg.com/vue@${version}/dist/vue.esm-browser.js`,
defaultVueRuntimeURL: `https://registry.npmmirror.com/vue/${version}/files/dist/vue.esm-browser.js`,
});
const fesDesignSetup = `
Expand All @@ -53,7 +53,7 @@ export function loadStyle() {
const link = document.createElement('link')
link.rel = 'stylesheet'
link.href = 'https://unpkg.com/@fesjs/fes-design@latest/dist/fes-design.min.css';
link.href = 'https://registry.npmmirror.com/@fesjs/fes-design/latest/files/dist/fes-design.min.css';
document.head.appendChild(link)
}
Expand All @@ -75,9 +75,9 @@ const defaultFiles = {
'import-map.json': JSON.stringify({
imports: {
'@fesjs/fes-design':
'https://unpkg.com/@fesjs/fes-design@latest/dist/fes-design.esm-browser.js',
'https://registry.npmmirror.com/@fesjs/fes-design/latest/files/dist/fes-design.esm-browser.js',
'@fesjs/fes-design/icon':
'https://unpkg.com/@fesjs/fes-design@latest/dist/fes-design.icon-browser.js',
'https://registry.npmmirror.com/@fesjs/fes-design/latest/files/dist/fes-design.icon-browser.js',
},
}),
};
Expand Down

0 comments on commit 5790d52

Please sign in to comment.