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

fix: 支持 setup #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix: 支持 setup #5

wants to merge 1 commit into from

Conversation

AngusFu
Copy link
Contributor

@AngusFu AngusFu commented Jul 27, 2024

Fixed #4

  const template = compiler.compileTemplate({
    ...templateOptions,
    sourceMap: true,
    compilerOptions: {
      ...templateOptions.compilerOptions,
+    // https://github.com/vuejs/repl/blob/2daac718a212e61d200cecdfc3623535bd0196a9/src/transform.ts#L167C7-L167C15
+    bindingMetadata: script.bindings,
    }
  });

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

Successfully merging this pull request may close these issues.

无法处理 <script setup></script> 的情况 ?
1 participant