Fix menu css
This commit is contained in:
parent
7775f3016d
commit
8254c42268
1 changed files with 5 additions and 6 deletions
11
menu.js
11
menu.js
|
@ -1,10 +1,9 @@
|
|||
/* --------------------------------------------------------------------------------------------- import menu css ---- */
|
||||
|
||||
import '/style/menu.css'
|
||||
|
||||
/* -------------------------------------------------------------------------------------------------- build menu ---- */
|
||||
|
||||
(async () => {
|
||||
const style = document.createElement('link')
|
||||
style.rel = 'stylesheet'
|
||||
style.href = '/style/menu.css'
|
||||
document.head.append(style)
|
||||
|
||||
const siteRoot = '/' + location.pathname.split('/')[1]
|
||||
const {wayback} = await import(/* @vite-ignore */`${siteRoot}/config.js`)
|
||||
|
||||
|
|
Loading…
Reference in a new issue