We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17df237 commit d1a2a7fCopy full SHA for d1a2a7f
src/components/home/Banner.vue
@@ -34,7 +34,7 @@
34
alt="Developer"
35
/>
36
<img
37
- else
+ v-else
38
src="@/assets/images/developer-dark.svg"
39
40
@@ -50,11 +50,15 @@ export default {
50
name: 'Home',
51
data: () => {
52
return {
53
- theme: localStorage.getItem('theme'),
+ theme: '',
54
};
55
},
56
+ created() {
57
+ this.theme = localStorage.getItem('theme') || 'light';
58
+ },
59
mounted() {
60
feather.replace();
61
62
63
updated() {
64
0 commit comments