Skip to content

No loader is configured for ".vue" files #150

@mjx666

Description

@mjx666

Related plugins

Describe the bug

vite4+ts项目正确配置了vite-plugin-vue插件,但是还是运行终端node环境还是报错找不到vue文件的loader,在浏览器项目功能是正常的

Reproduction

need reproduction

Steps to reproduce

pnpm i

System Info

"@vitejs/plugin-vue": "^4.0.0",
"vite": "^4.1.0",
"node": "16.13.1"

Used Package Manager

pnpm

Logs

image

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions