Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
2 changes: 2 additions & 0 deletions client/App.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template lang="pug">
n-theme
n-message-provider
Analytics
.app-error(v-if='siteStore.criticalError')
i.bi.bi-x-octagon-fill.me-2
span {{siteStore.criticalError}}
Expand All @@ -13,6 +14,7 @@ n-theme
<script setup>
import { onBeforeUnmount ,onMounted, ref } from 'vue'
import { NMessageProvider } from 'naive-ui'
import { Analytics } from '@vercel/analytics/vue'

import { useSiteStore } from './shared/store'

Expand Down
2 changes: 2 additions & 0 deletions client/Embedded.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
n-theme
n-notification-provider
n-message-provider
Analytics
component(:is='currentComponent', :component-id='props.componentId')
</template>

<script setup>
import { defineAsyncComponent, markRaw, onMounted, ref } from 'vue'
import { NMessageProvider, NNotificationProvider } from 'naive-ui'
import { Analytics } from '@vercel/analytics/vue'

import NTheme from './components/n-theme.vue'

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@fullcalendar/vue3": "6.1.11",
"@popperjs/core": "2.11.8",
"@twuni/emojify": "1.0.2",
"@vercel/analytics": "1.6.1",
"bootstrap": "5.3.3",
"bootstrap-icons": "1.11.3",
"browser-fs-access": "0.35.0",
Expand Down
31 changes: 31 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2009,6 +2009,36 @@ __metadata:
languageName: node
linkType: hard

"@vercel/analytics@npm:1.6.1":
version: 1.6.1
resolution: "@vercel/analytics@npm:1.6.1"
peerDependencies:
"@remix-run/react": ^2
"@sveltejs/kit": ^1 || ^2
next: ">= 13"
react: ^18 || ^19 || ^19.0.0-rc
svelte: ">= 4"
vue: ^3
vue-router: ^4
peerDependenciesMeta:
"@remix-run/react":
optional: true
"@sveltejs/kit":
optional: true
next:
optional: true
react:
optional: true
svelte:
optional: true
vue:
optional: true
vue-router:
optional: true
checksum: 07c91bb26b0328ba59790e1563b40548959289d1b447ac9512652766d39eab96fa618ddf9b51ef2683e10bf7c1485ae8abc4834b70757c78cbaff473a1f83203
languageName: node
linkType: hard

"@vitejs/plugin-vue@npm:4.6.2":
version: 4.6.2
resolution: "@vitejs/plugin-vue@npm:4.6.2"
Expand Down Expand Up @@ -7036,6 +7066,7 @@ browserlist@latest:
"@popperjs/core": 2.11.8
"@rollup/pluginutils": 5.1.0
"@twuni/emojify": 1.0.2
"@vercel/analytics": 1.6.1
"@vitejs/plugin-vue": 4.6.2
"@vue/language-plugin-pug": 2.0.7
bootstrap: 5.3.3
Expand Down
Loading