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

TS unfriendly #35

Open
hmingv opened this issue Feb 23, 2024 · 5 comments
Open

TS unfriendly #35

hmingv opened this issue Feb 23, 2024 · 5 comments

Comments

@hmingv
Copy link

hmingv commented Feb 23, 2024

image

@DamianGlowala
Copy link
Contributor

Could you please provide a minimalistic reproduction, so that I can have a look?

@QozbroQqn
Copy link

composable type is also not recognized
image

@tcampbPPU
Copy link
Member

composable type is also not recognized

Strange it has a type for me. When i click into the type i get:
image

@simonmaass
Copy link

got the same problem that "$dayjs" is not recognized via typescript in vue template

image

@KillerJulian
Copy link

To make it work you have to add dayjs as a dependency:

{
	"devDependencies": {
		"dayjs": "^1.11.13",
		"dayjs-nuxt": "^2.1.11"
	}
}

~/package.json

npx nuxi module add dayjs unfortunately only adds the dependency dayjs-nuxt.

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

No branches or pull requests

6 participants