unplugin-vue2-script-setup icon indicating copy to clipboard operation
unplugin-vue2-script-setup copied to clipboard

test: add failed pug tests

Open antfu opened this issue 3 years ago • 2 comments

Downstream issue: nuxt/bridge#11

antfu avatar Mar 16 '22 08:03 antfu

Isn't this theoretically invalid? I think there is a missing v-else. Currently if the condition would result in false there is no root-element in the component. Not sure if it is statically analysed that it is always true in given example case.

Shinigami92 avatar Mar 16 '22 08:03 Shinigami92

The problem is that the parser does not understand pug, thus failing to parse <. You are talking about another thing that isn't the scope we should handle.

antfu avatar Mar 16 '22 09:03 antfu