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
/nuxtPublic

refactor(nuxt): generate valid references for component declaration items#33388

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

Draft
KazariEX wants to merge1 commit intonuxt:main
base:main
Choose a base branch
Loading
fromKazariEX:feat/components-property-access

Conversation

KazariEX
Copy link
Contributor

@KazariEXKazariEX commentedOct 3, 2025
edited
Loading

🔗 Linked issue

📚 Description

typeof import('...').default is a valid reference compared totypeof import('...')['default']. It is required to implement the secondary jump for Go to References.

Waiting forunjs/knitwork#125.

@bolt-new-by-stackblitzBolt.new (by StackBlitz)
Copy link

Review PR in StackBlitz CodeflowRun & review this pull request inStackBlitz Codeflow.

@KazariEXKazariEX changed the titlerefactor(nuxt): generate.default instead of['default'] for component declarationsrefactor(nuxt): generate valid references for component declaration itemsOct 3, 2025
?relative(baseDir,c.filePath).replace(NON_VUE_RE,'')
:c.filePath.replace(NON_VUE_RE,''),{wrapper:false})
}['${c.export}']`
}${genPropertyAccess(c.export)}`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

what about insteadgenDynamicTypeImport for knitwork? and it could then specify the property to access as part of that command?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Good idea!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@danielroedanielroedanielroe left review comments

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@KazariEX@danielroe

[8]ページ先頭

©2009-2025 Movatter.jp