fix url
This commit is contained in:
parent
54dcae4274
commit
416acfe007
@ -5,7 +5,6 @@ import { InlineLinkPreviewElementTransform } from '@nolebase/vitepress-plugin-in
|
|||||||
import { ThumbnailHashImages } from '@nolebase/vitepress-plugin-thumbnail-hash/vite';
|
import { ThumbnailHashImages } from '@nolebase/vitepress-plugin-thumbnail-hash/vite';
|
||||||
import { BiDirectionalLinks } from '@nolebase/markdown-it-bi-directional-links';
|
import { BiDirectionalLinks } from '@nolebase/markdown-it-bi-directional-links';
|
||||||
|
|
||||||
import { UnlazyImages } from '@nolebase/markdown-it-unlazy-img';
|
|
||||||
import { contributors } from './contributors';
|
import { contributors } from './contributors';
|
||||||
import { withMermaid } from "vitepress-plugin-mermaid";
|
import { withMermaid } from "vitepress-plugin-mermaid";
|
||||||
import { customIcons } from './theme/hook/icons';
|
import { customIcons } from './theme/hook/icons';
|
||||||
@ -22,15 +21,6 @@ export default withMermaid({
|
|||||||
hostname: 'https://kirigaya.cn/' + baseUrl
|
hostname: 'https://kirigaya.cn/' + baseUrl
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
vue: {
|
|
||||||
template: {
|
|
||||||
transformAssetUrls: {
|
|
||||||
NolebaseUnlazyImg: ['src'],
|
|
||||||
},
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
vite: {
|
vite: {
|
||||||
plugins: [
|
plugins: [
|
||||||
GitChangelog({
|
GitChangelog({
|
||||||
@ -64,9 +54,6 @@ export default withMermaid({
|
|||||||
md.use(lightbox);
|
md.use(lightbox);
|
||||||
md.use(InlineLinkPreviewElementTransform);
|
md.use(InlineLinkPreviewElementTransform);
|
||||||
md.use(BiDirectionalLinks());
|
md.use(BiDirectionalLinks());
|
||||||
md.use(UnlazyImages(), {
|
|
||||||
imgElementTag: 'NolebaseUnlazyImg',
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@ import Contributors from './components/Contributors/index.vue';
|
|||||||
|
|
||||||
import { NolebaseGitChangelogPlugin } from '@nolebase/vitepress-plugin-git-changelog/client';
|
import { NolebaseGitChangelogPlugin } from '@nolebase/vitepress-plugin-git-changelog/client';
|
||||||
import { NolebaseInlineLinkPreviewPlugin } from '@nolebase/vitepress-plugin-inline-link-preview/client';
|
import { NolebaseInlineLinkPreviewPlugin } from '@nolebase/vitepress-plugin-inline-link-preview/client';
|
||||||
import { NolebaseUnlazyImg } from '@nolebase/vitepress-plugin-thumbnail-hash/client';
|
|
||||||
|
|
||||||
import { ElCollapse, ElCollapseItem, ElTimeline, ElTimelineItem } from 'element-plus';
|
import { ElCollapse, ElCollapseItem, ElTimeline, ElTimelineItem } from 'element-plus';
|
||||||
|
|
||||||
@ -36,7 +35,6 @@ export default {
|
|||||||
app.component('BiliPlayer', BiliPlayer);
|
app.component('BiliPlayer', BiliPlayer);
|
||||||
app.component('KNavItem', KNavItem);
|
app.component('KNavItem', KNavItem);
|
||||||
app.component('Contributors', Contributors);
|
app.component('Contributors', Contributors);
|
||||||
app.component('NolebaseUnlazyImg', NolebaseUnlazyImg);
|
|
||||||
|
|
||||||
app.component('el-collapse', ElCollapse);
|
app.component('el-collapse', ElCollapse);
|
||||||
app.component('el-collapse-item', ElCollapseItem);
|
app.component('el-collapse-item', ElCollapseItem);
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
我们先点击下方的「系统提示词」
|
我们先点击下方的「系统提示词」
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
我们添加一个新的系统提示词,在标题输入「bing image」,然后主体部分填入:
|
我们添加一个新的系统提示词,在标题输入「bing image」,然后主体部分填入:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user