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 detect Nuxt3 defineNuxtComponent#2311

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
FloEdelmann merged 7 commits intovuejs:v10fromsugitata:defineNuxtComponent
Nov 27, 2024

Conversation

sugitata
Copy link
Contributor

@sugitatasugitata commentedNov 13, 2023
edited by FloEdelmann
Loading

Description

It's just a workaround like solution.
Add thedefineNuxtComponent alias for Nuxt3 projects, similar to#1088.

About defineNuxtComponent

The difference betweendefineNuxtComponent anddefineComponent is onlyasyncData andhead options are added ondefineNuxtComponent.
These options are not essential to check in vue-eslint-plugin, so it should be fine to treat it asdefineComponent.

https://nuxt.com/docs/api/utils/define-nuxt-component

shinGangan reacted with hooray emojishinGangan and Mini-ghost reacted with heart emojishinGangan reacted with eyes emoji
Copy link
Member

@FloEdelmannFloEdelmann left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

@sugitata
Copy link
ContributorAuthor

@FloEdelmann
Thank you for your review!
I fixed them.

Copy link
Member

@FloEdelmannFloEdelmann left a comment
edited
Loading

Choose a reason for hiding this comment

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

LGTM 🙂

@ota-meshi Should we consider this a breaking change and keep this for v10? (see#2166)

sugitata reacted with heart emoji
Copy link
Member

@ota-meshiota-meshi left a comment

Choose a reason for hiding this comment

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

LGTM! Sorry for the late review.

sugitata reacted with laugh emoji
@ota-meshi
Copy link
Member

Should we consider this a breaking change and keep this for v10?

Yeah. I think this should be included in v10.

@FloEdelmannFloEdelmann merged commitd27c7e6 intovuejs:v10Nov 27, 2024
6 checks passed
@FloEdelmannFloEdelmann mentioned this pull requestNov 27, 2024
FloEdelmann pushed a commit that referenced this pull requestNov 27, 2024
ota-meshi pushed a commit that referenced this pull requestNov 30, 2024
FloEdelmann pushed a commit that referenced this pull requestDec 13, 2024
FloEdelmann pushed a commit that referenced this pull requestDec 16, 2024
FloEdelmann pushed a commit that referenced this pull requestDec 19, 2024
FloEdelmann pushed a commit that referenced this pull requestJan 3, 2025
FloEdelmann pushed a commit that referenced this pull requestJan 22, 2025
FloEdelmann pushed a commit that referenced this pull requestJan 29, 2025
FloEdelmann pushed a commit that referenced this pull requestFeb 12, 2025
FloEdelmann pushed a commit that referenced this pull requestFeb 12, 2025
waynzh pushed a commit that referenced this pull requestFeb 20, 2025
ota-meshi pushed a commit that referenced this pull requestMar 5, 2025
ota-meshi pushed a commit that referenced this pull requestMar 5, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@FloEdelmannFloEdelmannFloEdelmann approved these changes

@ota-meshiota-meshiota-meshi approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

vue/no-unused-properties does not work withdefineNuxtComponent()vue/order-in-components is not working withdefineNuxtComponent()
3 participants
@sugitata@ota-meshi@FloEdelmann

[8]ページ先頭

©2009-2025 Movatter.jp