65f960c31a
- Ensure inline scripts execute after the DOM has fully loaded. - Use Rollup to bundle the theme-mode and Mermaid scripts, reducing the number of Jekyll include snippets.
15 lines
256 B
JavaScript
15 lines
256 B
JavaScript
import { basic, initSidebar, initTopbar } from './modules/layouts';
|
|
import {
|
|
loadImg,
|
|
imgPopup,
|
|
initClipboard,
|
|
loadMermaid
|
|
} from './modules/components';
|
|
|
|
loadImg();
|
|
imgPopup();
|
|
initSidebar();
|
|
initTopbar();
|
|
initClipboard();
|
|
loadMermaid();
|
|
basic();
|