-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
app.vue
42 lines (40 loc) · 1.15 KB
/
app.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<template>
<div>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</div>
</template>
<script setup>
const title = 'Stimulus Components'
const description = 'Stimulus Components is an open-source set of StimulusJS controllers to solve common patterns.'
useHead({
title,
titleTemplate: '%s | Stimulus Components',
htmlAttrs: {
lang: 'en',
},
link: [
{ rel: 'preconnect', href: 'https://e9in2dium3-dsn.algolia.net' },
{ rel: 'preconnect', href: 'https://github.com' },
],
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
name: 'description',
content: description,
},
{ name: 'format-detection', content: 'telephone=no' },
{ name: 'author', content: 'guillaumebriday' },
{ property: 'og:title', content: title },
{ property: 'og:description', content: description },
{
property: 'og:image',
content: 'https://raw.githubusercontent.com/stimulus-components/stimulus-components/master/screenshot.png',
},
{ name: 'twitter:card', content: 'summary' },
{ name: 'twitter:creator', content: '@guillaumebriday' },
],
})
</script>