Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: handle views imported in script setup#1051

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
rigor789 merged 2 commits intomainfromfix/script-setup-core-view-import-conflicts
Jun 2, 2023

Conversation

rigor789
Copy link
Member

Fixes#1017

When importing a {N} view inscript setup and using it with the same name in the template, Vue tries to resolve the {N} view as a component and it fails. With this change, we override the render helpers to hijack the firsttype argument, and detect when it's a{N} view (or a known component) and we return it's name instead, so the renderer can render it correctly.

vallemar and ndianabasi reacted with hooray emoji
@rigor789rigor789 merged commitfb53eb0 intomainJun 2, 2023
@rigor789rigor789 deleted the fix/script-setup-core-view-import-conflicts branchJune 2, 2023 14:29
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Error when importing and using a core component in the template
1 participant
@rigor789

[8]ページ先頭

©2009-2025 Movatter.jp