-
Notifications
You must be signed in to change notification settings - Fork 916
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
template for Vue + Typescript #690
Comments
Yes! Agree we should have a Vue + TypeScript template, especially one that works out-of-the-box migrating from Vue CLI, if possible. We’d love a PR if anyone is able to tackle this. |
I'm currently setting this up for a new project (Vue 3), so will report back with how I get on and plan to create a template once it is stable. If successful, I may try porting a previous Vue 2 project to snowpack, although I'm not certain that is possible. Would be worth the OP stating which version of Vue they are on. |
@spikyjt that sounds great! any luck?? |
@FredKSchott I've been distracted with other things, but so far ended up with WSOD using the sample app used in the Vue CLI generator! |
@FredKSchott I've had another look, but gone down a black hole with Single-File Components. Is there a loader for Typescript in |
I don't know the answer, unfortunately. Svelte has https://www.npmjs.com/package/svelte-check, I wonder if Vue has something similar. Maybe Vue doesn't fully support TS? Curious if anyone knows how this might work! |
@FredKSchott Vue 3 is written in TS and Vue has always supported TS fully. The script part of the SFC needs I suspect the problem is with I'm willing to contribute, let's continue this discussion on Discord. |
#984 , Will support Vue + Typescript in this merged PR. |
@Akimyou Thanks for your great job!:+ could you add an example for this? |
official template will be add after next release. |
PR here: #1088 |
Hi!
Before this, I already had an existing project (generated by Vue CLI)
Now I want to migrate to snowpack, but unfortunately, I did not find a template for typescript + vue, and migration documentation.
When I try to migrate, it gives me an HTTP error 500
And there is no error message, I don’t know what to do.
any helps are welcome. Thx.
The text was updated successfully, but these errors were encountered: