Skip to content

Commit c3a11f6

Browse files
committed
feat: live laugh plausible
1 parent 78a0ea5 commit c3a11f6

File tree

5 files changed

+26
-8
lines changed

5 files changed

+26
-8
lines changed

apps/frontend/nuxt.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export default defineNuxtConfig({
1313
'@nuxtjs/sitemap',
1414
'@nuxtjs/robots',
1515
'@nuxtjs/mdc',
16+
'@nuxtjs/plausible',
1617
],
1718
css: ['~/assets/css/main.css'],
1819
app: {
@@ -91,4 +92,8 @@ export default defineNuxtConfig({
9192
},
9293
},
9394
},
95+
plausible: {
96+
apiHost: 'https://plausible.prpl.wtf',
97+
ignoredHostnames: ['localhost'],
98+
},
9499
})

apps/frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"@nuxt/icon": "^2.0.0",
1818
"@nuxt/image": "^1.11.0",
1919
"@nuxtjs/mdc": "^0.17.4",
20+
"@nuxtjs/plausible": "2.0.1",
2021
"@nuxtjs/robots": "^5.5.1",
2122
"@nuxtjs/sitemap": "^7.4.3",
2223
"@tailwindcss/vite": "^4.1.13",

apps/frontend/pnpm-lock.yaml

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/frontend/src/pages/auth/index.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
<h1 class="!text-4xl">Welcome back!</h1>
88
</div>
99
<div class="space-y-4 p-4">
10-
<ElementsInlinecard>
11-
Sign-in is temporarily disabled while the application is in demo mode.
12-
</ElementsInlinecard>
13-
1410
<ElementsInlinecard v-if="errors?.includes('invalid name or password')">
1511
Invalid email or password. Double-check you've submitted the correct
1612
info or

apps/frontend/src/pages/auth/register.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
<h1 class="!text-4xl">Hi there!</h1>
88
</div>
99
<div class="space-y-4 p-4">
10-
<ElementsInlinecard>
11-
Sign-up is temporarily disabled while the application is in demo mode.
12-
</ElementsInlinecard>
13-
1410
<ElementsInlinecard
1511
v-if="errors?.includes('user with name or email already exists')"
1612
>

0 commit comments

Comments
 (0)