-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
2 changed files
with
21 additions
and
25 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 |
---|---|---|
|
@@ -5,4 +5,25 @@ export default defineConfig({ | |
themeConfig: { | ||
name: 'topology-designable', | ||
}, | ||
base: '/topology-designable/', | ||
publicPath: '/topology-designable/', | ||
// 国内提速,部分案例会使用不了(如:web worker部分的案例) | ||
// publicPath: 'https://fastly.jsdelivr.net/gh/xiexingen/topology-designable@gh-pages/', // cdn.jsdelivr.net | ||
// publicPath: 'https://github.com.cnpmjs.org/xiexingen/blog/tree/gh-pages/', | ||
// favicons: [ | ||
// "https://user-images.githubusercontent.com/9554297/83762004-a0761b00-a6a9-11ea-83b4-9c8ff721d4b8.png", | ||
// ], | ||
// mode: 'site', | ||
// more config: https://d.umijs.org/config | ||
exportStatic: {}, | ||
// styles: [], | ||
// links: [ | ||
// { | ||
// rel: 'stylesheet', | ||
// href: 'https://unpkg.com/@alifd/[email protected]/dist/next-noreset.min.css', | ||
// }, | ||
// { rel: 'stylesheet', href: '/style.css' }, | ||
// ], | ||
// copy: ['CNAME'], // 自定义域名,放public文件夹即可 | ||
// ssr: {}, | ||
}); |