1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-22 07:33:28 +00:00

refactor: improve js module loading order

This commit is contained in:
Cotes Chung
2024-04-29 03:43:33 +08:00
parent e0950fc973
commit b77767f76e
7 changed files with 16 additions and 17 deletions

View File

@@ -1,8 +1,8 @@
import { basic, initSidebar, initTopbar } from './modules/layouts';
import { initLocaleDatetime, loadImg } from './modules/plugins';
basic();
loadImg();
initLocaleDatetime();
initSidebar();
initTopbar();
initLocaleDatetime();
loadImg();
basic();