-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Describe the bug
When the template in SFC Vue files has language="pug" specified, it raises [Vue warn]: Component is missing template or render function. and expect nothing to be rendered.
Reproduction
- Clone vitest-ts-pug
- Run
npm i && npm run test
System Info
System:
OS: Linux 4.19 Ubuntu 18.04.4 LTS (Bionic Beaver)
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 8.47 GB / 12.42 GB
Container: Yes
Shell: 5.4.2 - /usr/bin/zsh
Binaries:
Node: 16.5.0 - /tmp/fnm_multishells/277_1640150130225/bin/node
Yarn: 1.22.5 - /usr/bin/yarn
npm: 7.19.1 - /tmp/fnm_multishells/277_1640150130225/bin/npm
npmPackages:
@vitejs/plugin-vue: ^2.0.0 => 2.0.1
vite: ^2.7.2 => 2.7.4
vitest: ^0.0.103 => 0.0.103Used Package Manager
npm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels