Slidev
Use Slidev support from the lean v3 composer.
Install
Section titled “Install”pnpm add -D @santi020k/eslint-config-basic @santi020k/eslint-config-slidev @santi020k/eslint-config-vue eslintnpm install -D @santi020k/eslint-config-basic @santi020k/eslint-config-slidev @santi020k/eslint-config-vue eslintyarn add -D @santi020k/eslint-config-basic @santi020k/eslint-config-slidev @santi020k/eslint-config-vue eslintbun add -d @santi020k/eslint-config-basic @santi020k/eslint-config-slidev @santi020k/eslint-config-vue eslintConfigure
Section titled “Configure”import { defineConfig } from '@santi020k/eslint-config-basic'
export default await defineConfig({ frameworks: { slidev: true }, typescript: true})With the required config packages installed, the one-line recommended entry auto-detects the framework; custom configs can use defineConfig() without a frameworks object.
What It Adds
Section titled “What It Adds”- Browser runtime globals for Slidev deck code.
- Vue support when
slidevis enabled through the main composer. - Relaxed Markdown expression rules for
slides.mdandpages/**/*.md.
Did this page help?
One click helps us spot documentation that needs another pass. No personal data is sent.