-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
37 lines (36 loc) · 926 Bytes
/
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
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
ssr: false,
runtimeConfig: {
public: {
dev: process.env.NODE_ENV !== 'production',
},
},
typescript: {
shim: false,
},
modules: [
// https://tailwindcss.nuxtjs.org/
'@nuxtjs/tailwindcss',
// https://prismic.nuxtjs.org/
// '@nuxtjs/prismic',
// https://pinia.vuejs.org/
'@pinia/nuxt',
],
nitro: {
prerender: {
routes: ['/trabalhista', '/previdenciario', '/civil', '/criminal'],
},
},
/*
LATER
https://v3.nuxtjs.org/migration/plugins-and-middleware
prismic: {
endpoint: process.env.PRISMIC_ENDPOINT,
modern: true,
linkResolver: '@/plugins/link-resolver',
htmlSerializer: '@/plugins/html-serializer',
},
plugins: [{ src: '~/plugins/prismicLinks', mode: 'client' }],
*/
});