[READ-ONLY] Mirror of https://github.com/danielroe/spooon. This is a tiny recipe app built in Nuxt for a live-coding session at Vue.js Nation 2024.
nuxt-spooon.vercel.app
1// https://nuxt.com/docs/api/configuration/nuxt-config
2export default defineNuxtConfig({
3 devtools: { enabled: true },
4
5 runtimeConfig: {
6 spoonacular: {
7 apiKey: ''
8 }
9 },
10
11 routeRules: {
12 '/**': {
13 isr: 60 * 60 * 24
14 }
15 },
16
17 $development: {
18 nitro: {
19 storage: {
20 recipes: {
21 driver: 'fs',
22 base: 'recipes'
23 }
24 }
25 }
26 },
27
28 image: {
29 providers: {
30 spoonacular: {
31 provider: '~/providers/spoonacular.ts',
32 }
33 }
34 },
35
36 modules: ['@nuxt/ui', "@nuxt/image"]
37})