-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
37 lines (37 loc) · 864 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({
modules: [
[
'@storyblok/nuxt',
{
/*
If you would like to use this as a template for your project, simply provide the access token here.
Also please remove line 14 (usePlugin) as well as the file plugins/storyblok.js.
*/
accessToken: process.env.STORYBLOK_PREVIEW_TOKEN,
// usePlugin: true,
},
],
'@nuxtjs/robots',
],
ssr: process.env.VERCEL_ENV === 'production' ? true : false,
css: ['~/assets/css/tailwind.css'],
runtimeConfig: {
public: {
templateToken: process.env.STORYBLOK_PREVIEW_TOKEN,
},
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
app: {
head: {
htmlAttrs: {
lang: 'en',
},
},
},
})