vue-macros / vue-macros

Explore and extend more macros and syntax sugar to Vue.

Home Page:https://vue-macros.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unplugin-vue-macros 引入的 unplugin-vue-define-options/vue2-macros-global 报错

lx11573 opened this issue · comments

Describe the bug

Vue2 中使用 unplugin-vue-macros 时,引入的 unplugin-vue-define-options包中,没有 vue2-macros-global

image

Reproduction

https://www.npmjs.com/package/unplugin-vue-define-options/v/1.3.18?activeTab=code

System Info

OS 10.15.7
Node 16.17.0

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • 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, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

For those without vue2-macros-global, you can use macros-global directly.
对于没有 vue2-macros-global 的,可以直接使用 macros-global

This will be noted later in the documentation
稍后会在文档中注明这一点