forked from pixelhop/pick-a-sick-wick-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
30 lines (27 loc) · 1011 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
import { defineNuxtConfig } from 'nuxt3'
export default defineNuxtConfig({
// Add entry css file
css: ['tailwindcss/tailwind.css'],
build: {
postcss: {
// add Postcss options
postcssOptions: require('./postcss.config.js'),
},
},
meta: {
link: [
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com' },
{ href: 'https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Source+Sans+Pro:wght@300;400;600;700;900&display=swap', rel: 'stylesheet' },
{ rel: 'preconnect', href: "https://app.snipcart.com" },
{ rel: 'preconnect', href: "https://cdn.snipcart.com" },
{ rel: 'stylesheet', href: "https://cdn.snipcart.com/themes/v3.2.1/default/snipcart.css" },
],
script: [
{ src: 'https://cdn.snipcart.com/themes/v3.2.1/default/snipcart.js', async: true }
],
},
publicRuntimeConfig: {
API_URL: process.env.API_URL
},
})