-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
64 lines (64 loc) · 1.31 KB
/
nuxt.config.ts
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
css: ["~/assets/styles/global.scss"],
experimental: {
typedPages: true,
},
modules: ["@nuxtjs/prismic", "@nuxt/image"],
nitro: {
prerender: {
ignore: ["/preview", "/slice-simulator"],
},
},
app: {
pageTransition: {
name: "fade",
mode: "out-in",
},
head: {
htmlAttrs: {
lang: "fr",
},
link: [
{ href: "https://images.prismic.io", rel: "preconnect" },
{ href: "https://fonts.googleapis.com", rel: "preconnect" },
{
href: "https://fonts.gstatic.com",
rel: "preconnect",
crossorigin: "anonymous",
},
],
},
},
prismic: {
endpoint: "blokche-les-fabricants",
clientConfig: {
routes: [
{
type: "home",
path: "/",
},
{
type: "showcase",
path: "/showcases/:uid",
},
{
type: "blog_categories",
path: "/blog/categories/:uid",
},
{
type: "author",
path: "/blog/auteurs/:uid",
},
{
type: "blog_post",
path: "/blog/:uid",
},
],
},
},
image: {
prismic: {},
},
});