You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A normal <script> may be needed in cases where we need to: [...] Declaring named exports.
This can seemingly lead to a new issue with [plugin:vite:vue] [@vue/compiler-sfc]: <script setup> cannot contain ES module exports. If you are using a previous version of <script setup>, please consult the updated RFC at https://github.com/vuejs/rfcs/pull/227.
What's the proper way to resolve this issue? What am I missing?
The text was updated successfully, but these errors were encountered:
Commit 7ab3991 fixed issue #1678 by introducing an
export
to theinterface Props
. This export clashes with a specification in the same file, I think, which states:This can seemingly lead to a new issue with
[plugin:vite:vue] [@vue/compiler-sfc]
:<script setup> cannot contain ES module exports. If you are using a previous version of <script setup>, please consult the updated RFC at https://github.com/vuejs/rfcs/pull/227.
What's the proper way to resolve this issue? What am I missing?
The text was updated successfully, but these errors were encountered: