Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/vuejs-de. vuejs-de.netlify.app
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930import { addComponent } from '@nuxt/kit'import * as troisjs from 'troisjs'
// https://v3.nuxtjs.org/api/configuration/nuxt.configexport default defineNuxtConfig({ css: ['@picocss/pico'], runtimeConfig: { catApiToken: '' }, // Coming soon ... ! routes: { '/cat/**': { static: true }, '/api/**': { cors: true } }, modules: [ function () { for (const name of Object.keys(troisjs)) { // Skip non-component imports if (!name.match(/^[A-Z]/)) continue
addComponent({ name, export: name, filePath: 'troisjs', }) } } ]})