- typed client and useFaq/useFaqApi (SSR, faq:<slug>:<locale> key, server and public bases, x-forwarded-for forwarded also on cached renders) - FaqBlock, FaqList and FaqItem: native details, exclusive and openFirst, server-sanitized description and answers, nothing or #fallback on 404, error or no items - FAQ tokens and base CSS with the .faq-html rules, README - node client tests and a playground SSR smoke against a fixture API
7 lines
235 B
TypeScript
7 lines
235 B
TypeScript
// Local playground: an app that only extends the layer and renders FAQs
|
|
// (app.vue). testing/smoke-ssr.mjs builds it against the fixture API.
|
|
export default defineNuxtConfig({
|
|
extends: ['..'],
|
|
compatibilityDate: '2025-07-15',
|
|
})
|