Skip to content

WIP: Nuxt3 support - #15

Open
tuarrep wants to merge 2 commits into
fumeapp:masterfrom
tuarrep:feat/nuxt3
Open

WIP: Nuxt3 support#15
tuarrep wants to merge 2 commits into
fumeapp:masterfrom
tuarrep:feat/nuxt3

Conversation

@tuarrep

@tuarrep tuarrep commented Sep 14, 2022

Copy link
Copy Markdown

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
Copy Markdown

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

@tuarrep

tuarrep commented Jul 21, 2023

Copy link
Copy Markdown
Author

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

@acidjazz

Copy link
Copy Markdown
Member

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

@tuarrep

tuarrep commented Jul 21, 2023

Copy link
Copy Markdown
Author

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

@stephenjason89

Copy link
Copy Markdown

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

Thank you

@stephenjason89

stephenjason89 commented Jul 25, 2023

Copy link
Copy Markdown

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