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

chore: check vuetify nuxt module without nuxt module augmentations #4

Open
wants to merge 2 commits into
base: userquin/dont-write-sass-files
Choose a base branch
from

Conversation

userquin
Copy link
Owner

@userquin userquin commented Sep 2, 2024

Clone the repo then checkout the branch from this PR:

  • pnpm install && pnpm nuxt prepare: check vuetify entry in nuxt config file has types (the types in IntelliJ resolved from vuetify nuxt module dts)
  • replace vuetify-nuxt-module with https://pkg.pr.new/vuetify-nuxt-module@272 (from this PR fix: remove Nuxt module augmentations vuetifyjs/nuxt-module#272) then run pnpm install && pnpm dedupe && pnpm nuxt prepare, restart VSCode window or restart WebStorm/IntelliJ project, vuetify in nuxt config file cannot infer types

The pwa nuxt module doesn't have any nuxt module augmentation whereas vuetify nuxt module has the module augmentations (@nuxt/schema, nuxt/schema and #app: we also export ModuleRuntimeHooks and ModuleHooks)

@userquin
Copy link
Owner Author

userquin commented Sep 2, 2024

This is not working because I'm using the same module name, renaming the custom vuetify module name fix the problem...

Thx @danielroe ❤️

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.

1 participant