Skip to content

引入esm cdn,运行报错。 #1960

@xunmia

Description

@xunmia

Version

4.0.0

Reproduction link

https://github.com/xunmia/vite-vuex-project

Steps to reproduce

  1. gitclone项目链接
  2. yarn安装依赖包
  3. yarn build打包项目
  4. 打包项目部署到服务器
  5. 运行项目

What is expected?

项目正常运行

What is actually happening?

Uncaught TypeError: Failed to resolve module specifier "vue". Relative references must start with either "/", "./", or "../".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions