victorgarciaesgi / nuxt-typed-router

🚦Provide autocompletion and typecheck to Nuxt router
https://nuxt-typed-router.vercel.app
MIT License
354 stars 12 forks source link

stackblitz demo not working #107

Closed VladBrok37 closed 1 year ago

VladBrok37 commented 1 year ago

Steps to reproduce:

  1. Go to https://stackblitz.com/edit/github-7e4xvw?file=store%2FtestRouter.ts
  2. Wait until all types are generated
  3. Go to file pages/user/[id]/index.vue Autocompletes in nuxt-link not working (Ctrl + Space shows "no suggestion")

tested on latest chrome and firefox, operating system - lubuntu linux

VladBrok37 commented 1 year ago

Here is a video demo. Everything works fine only in the .ts file

https://github.com/victorgarciaesgi/nuxt-typed-router/assets/116383318/aaf4fd09-ae7b-4167-99c4-948d97c01ac5

victorgarciaesgi commented 1 year ago

It's explained in the comment on the typescript file, StackBlitz has no support for Vue langage server yet

Stackblitz does not support Typescript on .vue files yet, so to test <NuxtLink/> you have to clone and open VSCode localy.