@makerovski/gp-gesundheitsinformation
v0.0.22
Published
Nuxt module and UI layer for Gesundheitsinformation (GI) content pages.
Readme
gp-gesundheitsinformation
Nuxt layer + module that adds the Gesundheitsinformation pages, API proxy, and UI components.
Install
npm install @makerovski/gp-gesundheitsinformationQuick start (Nuxt host app)
In your nuxt.config.ts:
export default defineNuxtConfig({
modules: ["@makerovski/gp-gesundheitsinformation/module"],
gi: {
basePath: "/gesundheitsinformation",
apiBaseUrl: "https://iqwig-caas-api.e-spirit.cloud/Gesundheitsinformation",
apiKey: process.env.GI_API_KEY,
},
});Add the API key in .env:
GI_API_KEY=your_key_hereNotes
- The module auto-adds the layer and prefixes GI routes with
basePath. - Tailwind is required. The module can auto-add
@nuxtjs/tailwindcssand injects the package paths into Tailwind content scanning. - Runtime overrides (branding, theme, UI) can be provided via
app.config.tsorruntimeConfig.public.
