Skip to content

Vue SFC support for pug #264

@binhonglee

Description

@binhonglee

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

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.103

Used Package Manager

npm

Logs

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions