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

Playground Sandbox #213

Open
FlorianDevPhynix opened this issue Aug 12, 2023 · 2 comments
Open

Playground Sandbox #213

FlorianDevPhynix opened this issue Aug 12, 2023 · 2 comments

Comments

@FlorianDevPhynix
Copy link

FlorianDevPhynix commented Aug 12, 2023

I'm a React/Solid.js not a vue developer, but I'm currently looking into routing library's and the typesafety of this library looks very interesting.
I wanted to see it in action so I created a Sandbox on Stackblitz. Maybe it could be included in the Readme, so people don't have to clone the whole repository to use the playground.
Sadly it's not possible to install vue plugins for VSCode in Stackblitz, so there's no editor support for typescript in vue.

https://stackblitz.com/edit/unplugin-vue-router-vite-playground

https://stackblitz.com/edit/unplugin-vue-router-vite-playground?file=src%2FApp.vue

@posva
Copy link
Owner

posva commented Aug 13, 2023

I'm glad you find it interesting! Maybe this pattern is used in the future for other frameworks 🤞

Thanks for the stackblitz, I should indeed add an online demo to the readme even if the autocompletion doesn't show up on the vue files

@FlorianDevPhynix
Copy link
Author

I'm definitely going to take some inspiration from this, for the extension of vite-plugin-pages that I'm working on right now. Typesafety for routing is one of the best use cases of typescript that I have seen.

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

2 participants