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

WIP: Nuxt3 support #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

WIP: Nuxt3 support #15

wants to merge 2 commits into from

Conversation

tuarrep
Copy link

@tuarrep tuarrep commented Sep 14, 2022

Close #14

I've removed the use of template because of https://github.com/nuxt/framework/discussions/7348

The components.gen.js is generated using the Vue 2 syntax. It works on WebStorm even when using Vue 3. As the code of this file isn't executed, it doesn't seem to be important to adapt syntax to Vue 3.

@tuarrep tuarrep marked this pull request as ready for review September 15, 2022 13:08
@stephenjason89
Copy link

how to use this @tuarrep ?
Seems like the maintainer of this repo is not active anymore.

@tuarrep
Copy link
Author

tuarrep commented Jul 21, 2023

Have a look at https://www.pluralsight.com/guides/install-npm-packages-from-gitgithub

@acidjazz
Copy link
Member

I'm happy to merge/version if you're confident this is working @tuarrep

@tuarrep
Copy link
Author

tuarrep commented Jul 21, 2023

I'm not. I'm not using it anymore as I'm not using Nuxt as much as one year ago

@stephenjason89
Copy link

@acidjazz I'll test it out later. Will let you know if this is working with the latest nuxt 3 release

Thank you

@stephenjason89
Copy link

stephenjason89 commented Jul 25, 2023

I tried it @tuarrep @acidjazz

seems like it is working and generating .components.gen.js

but command clicking a component shows 2 declaration
image
I know this is a webstorm thingy but do you know how to auto select the first one so it goes straight to the file?

overriding the file type of .nuxt/component.d.ts to plain text should do the job but upon further checking, component.gen.js is incomplete.

component.d.ts has 246 lines
image
and components.gen.js only has 150
image

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.

Doesn't work with nuxt3
3 participants