Skip to content

Commit 575c4dd

Browse files
committed
chore: fix playground
1 parent 52e1fcb commit 575c4dd

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

playground/nuxt.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@ export default defineNuxtConfig({
1010
scripts: {
1111
debug: true,
1212
},
13+
14+
nitro: {
15+
prerender: {
16+
failOnError: false,
17+
},
18+
},
1319
})

playground/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const thirdParties = [
4848
},
4949
{
5050
name: 'Intercom',
51-
path: '/third-parties/intercom',
51+
path: '/third-parties/intercom/facade',
5252
},
5353
{
5454
name: 'Stripe',

playground/pages/third-parties/matomo-analytics.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ useHead({
66
})
77
88
// composables return the underlying api as a proxy object and the script state
9-
const { status, _paq } = useScriptMatomoAnalytics({
9+
const { status, proxy } = useScriptMatomoAnalytics({
1010
matomoUrl: 'https://nuxt-scripts-demo.matomo.cloud',
1111
siteId: '1',
1212
})
1313
14-
_paq.push(['trackPageView'])
14+
proxy._paq.push(['trackPageView'])
1515
</script>
1616

1717
<template>

0 commit comments

Comments
 (0)