-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnuxt.config.ts
38 lines (34 loc) · 915 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
38
// eslint-disable-next-line no-undef
export default defineNuxtConfig({
typescript: { shim: false },
runtimeConfig: {
apiSpoonKey: process.env.SPOONACULAR_API_KEY,
public: {
apiURL: 'https://api.spoonacular.com/recipes',
},
},
// Src directory
srcDir: 'src/',
// Nuxt modules
modules: ['nuxt-icon', '@nuxtjs/tailwindcss', '@nuxt/image-edge'],
// Tailwind module config
tailwindcss: {
cssPath: '~/assets/css/main.css',
config: '~~/tailwind.config.js',
exposeConfig: false,
viewer: false,
},
app: {
head: {
titleTemplate: 'Pantry | All your recipes in one place',
htmlAttrs: {
lang: 'en',
},
meta: [
{ name: 'author', content: 'Ciaran Toner' },
{ name: 'keywords', content: 'food recipes, recipes' },
{ name: 'description', content: 'A curated list of fantastic recipes' },
],
},
},
})