Skip to content

Commit 8f21839

Browse files
authored
Merge pull request #10 from summerscar/master
🐞fix(docusaurus 配置文件): 恢复资源加载
2 parents b4c18a1 + 7b7f7d5 commit 8f21839

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

docusaurus.config.js

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,13 @@ module.exports = {
139139
]
140140
},
141141
],
142-
/*
142+
/*
143143
logo: {
144144
// href: 'https://github.com',
145145
alt: 'qrcode',
146146
src: 'img/codelab_wechat.jpg'
147147
},
148-
*/
148+
*/
149149

150150
/*copyright: `Copyright © ${new Date().getFullYear()} CodeLab, Inc. Built with Docusaurus.`,*/
151151
copyright: `©CodeLab`,
@@ -182,10 +182,7 @@ module.exports = {
182182
scripts: [
183183
'https://cdn.jsdelivr.net/npm/lozad/dist/lozad.min.js',
184184
'https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js',
185-
{
186-
href: 'https://cdnjs.cloudflare.com/ajax/libs/lettering.js/0.6.1/jquery.lettering.min.js',
187-
rel: 'preload',
188-
},
185+
'https://cdnjs.cloudflare.com/ajax/libs/lettering.js/0.6.1/jquery.lettering.min.js',
189186
'https://cdn.jsdelivr.net/npm/video.js/dist/video.min.js',
190187
'/script/settheme.js',
191188
],
@@ -194,10 +191,6 @@ module.exports = {
194191
//
195192
//'https://unpkg.com/video.js/dist/video-js.min.css',
196193
'https://cdn.jsdelivr.net/npm/video.js/dist/video-js.min.css',
197-
'https://cdn.jsdelivr.net/npm/@videojs/themes@1/dist/fantasy/index.css',
198-
{
199-
href:'https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap',
200-
rel:'preload',
201-
},
194+
'https://cdn.jsdelivr.net/npm/@videojs/themes@1/dist/fantasy/index.css'
202195
]
203196
};

0 commit comments

Comments
 (0)