Compare commits
No commits in common. "edaf1aa726ed334b05f85aeb2eabc8a3582d6438" and "2d424847f7d968ee68ac75a106cde02f7f4e232a" have entirely different histories.
edaf1aa726
...
2d424847f7
1 changed files with 1 additions and 9 deletions
10
app.vue
10
app.vue
|
@ -1,5 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
<link :href="'/themes/' + currentTheme + '.css'" rel="stylesheet" type="text/css"></link>
|
||||||
<Banner v-if="banner" />
|
<Banner v-if="banner" />
|
||||||
<NuxtPage :keepalive="true" />
|
<NuxtPage :keepalive="true" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -14,15 +15,6 @@ const savedTheme = localStorage.getItem("selectedTheme");
|
||||||
if (savedTheme) {
|
if (savedTheme) {
|
||||||
currentTheme = savedTheme;
|
currentTheme = savedTheme;
|
||||||
}
|
}
|
||||||
|
|
||||||
useHead({
|
|
||||||
link: [
|
|
||||||
{
|
|
||||||
rel: "stylesheet",
|
|
||||||
href: `/themes/${currentTheme}.css`
|
|
||||||
}
|
|
||||||
]
|
|
||||||
})
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue