Skip to content

Commit 5c34c59

Browse files
committed
dbg
1 parent 5063b12 commit 5c34c59

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

app.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,13 @@ onMounted(() => {
4545
projectIndex.value += 1
4646
projectIndex.value %= projects.length
4747
project.value = projects[projectIndex.value]
48+
console.log("MOUNTED") // DBG
4849
})
4950
51+
watch(project, (newVal, oldVal) => {
52+
console.log('project changed:', newVal, 'from:', oldVal)
53+
}) // DBG
54+
5055
const route = useRoute()
5156
onMounted(() => {
5257
let redirect = links
@@ -72,8 +77,8 @@ useHead(() => ({
7277
<style lang="scss">
7378
:root {
7479
--primary: #cb5955;
75-
--foreground: black;
76-
--background: white;
80+
--foreground: white;
81+
--background: black;
7782
7883
&.black {
7984
--foreground: white;

0 commit comments

Comments
 (0)