-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.js
34 lines (34 loc) · 950 Bytes
/
nuxt.config.js
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
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_TOKEN,
usePlugin: false,
},
],
'@nuxtjs/tailwindcss',
'@tresjs/nuxt',
],
ssr: false,
css: ['@/assets/css/fonts.css'],
components: [{ path: '~/components/ecommerce' }, '~/components'],
imports: {
dirs: ['composables', 'composables/ecommerce'],
},
runtimeConfig: {
public: {
templateToken: process.env.STORYBLOK_TOKEN,
customParent: process.env.STORYBLOK_CUSTOM_PARENT,
shopifyDomain: process.env.SHOPIFY_DOMAIN,
shopifyToken: process.env.SHOPIFY_TOKEN,
},
},
vite: {
optimizeDeps: { exclude: ['fsevents'] },
},
})