Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
5 tasks done
lx11573 opened this issue Nov 15, 2023 · 1 comment
Open
5 tasks done
Labels
documentation Improvements or additions to documentation

Comments

@lx11573
Copy link

lx11573 commented Nov 15, 2023

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.
@sxzz sxzz added the documentation Improvements or additions to documentation label Nov 15, 2023
@sxzz
Copy link
Member

sxzz commented Nov 19, 2023

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
稍后会在文档中注明这一点

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants