- 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
17 lines
550 B
JSON
17 lines
550 B
JSON
{
|
|
// Self-contained on purpose: Vite reads this file when it compiles the
|
|
// layer's .vue and .ts files, also from a consumer's node_modules, where no
|
|
// generated .nuxt/tsconfig.json exists. For editor types of Nuxt
|
|
// auto-imports, run `pnpm dev:prepare` and open .playground.
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"noEmit": true,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"lib": ["ESNext", "DOM", "DOM.Iterable"]
|
|
}
|
|
}
|