Skip to content

[@vue/compiler-sfc] compileScript now requires passing the id option. #2852

@mazaiting

Description

@mazaiting

Version

3.0.4

Reproduction link

https://github.com/mazaiting

Steps to reproduce

version:
"vue": "^3.0.4",
"@vue/compiler-sfc": "^3.0.4"

problem:

\ 正在编译...[@vue/compiler-sfc] compileScript now requires passing the `id` option.
Upgrade your vite or vue-loader version for compatibility with the latest experimental proposals.

- 正在编译...[@vue/compiler-sfc] compileTemplate now requires the `id` option.`.

how to solve this problem?

What is expected?

What is actually happening?

no this tips.

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