Repository navigation
|
Hello, When using pug and @vue/language-plugin-pug with nuxt, This does not happen in standard Vue SFC templates (HTML), only in Pug templates. <script setup lang="ts">
const value: string | null = 'abc'
</script>
<template lang="pug">
div
li(v-if="value") test
</template>
I need to force the boolean with I've installed typescript: {
tsConfig: {
vueCompilerOptions: {
plugins: ["@vue/language-plugin-pug"]
},
},
},It's normal with @vue/language-plugin-pug ? |
Answered by
KazariEX
Jun 24, 2026
Replies: 2 comments 1 reply
|
Update |
0 replies
Answer selected by
Rekwian
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Update
@vue/language-plugin-pugto the latest version.