S
SolidJS•14mo ago
eformx

I looked at Vite but there is nothing on there site on how to install it? what are the steps?

I have vscode and were unble to install the vite templates as per the docs 'npx degit solidjs/templates/js my-app' A step by step tutorial should include steps to get started or in my case you can't. How to get started?
19 Replies
Birk Skyum
Birk Skyum•14mo ago
npm create vite@latest There is a solid-ts template npm create vite@latest my-solid-ts-app -- --template solid-ts
Birk Skyum
Birk Skyum•14mo ago
Vite
Next Generation Frontend Tooling
Birk Skyum
Birk Skyum•14mo ago
Thanks for sharing this. the template were added to vite's official templates quite recently, so the docs should be updated to reflect it.
eformx
eformxOP•14mo ago
ok got it to load localhost
Birk Skyum
Birk Skyum•14mo ago
This is the outdated page.https://www.solidjs.com/guides/getting-started#try-solid @davedbase , do you know how it can be updated so that the creation commands become i.e.? typescript npm create vite@latest my-app -- --template solid-ts javascript npm create vite@latest my-app -- --template solid Ah, the solid-docs repo
davedbase
davedbase•14mo ago
Our old docs infrastructure is quite cumbersome. Basically we have to have edit the markdown, publish to npm and then publish the website. Why we thought this was a good idea at the time...I dunno heh
Birk Skyum
Birk Skyum•14mo ago
whoa, that's extensive. okay, i'll make a pr anyway.
davedbase
davedbase•14mo ago
Thank you! 🙂 The new docs infra doesn't work this way at all
davedbase
davedbase•14mo ago
Thanks. I'll publish and deploy shortly
Birk Skyum
Birk Skyum•14mo ago
The new command generates the vite+solid app instead of the other one.
No description
No description
davedbase
davedbase•14mo ago
Everything's merged, just waiting on Cloudflare Pages to deploy.
Birk Skyum
Birk Skyum•14mo ago
Cool! Is the breaking CI in solid-docs a problem?
davedbase
davedbase•14mo ago
Nope
Birk Skyum
Birk Skyum•14mo ago
on the note of updating old stuff - I took the liberty to update the 2y old benchmarks on the front page, with the new version still showing Solid as a strong front-runner https://github.com/solidjs/solid-site/pull/496
GitHub
Update JS framework benchmark data by birkskyum · Pull Request #496...
The benchmark data was getting quite old, so I updated it. Only real change here is that Vue managed to leapfrog svelte/preact. I also added a note that it's from Chrome 117 dataset to provid...
davedbase
davedbase•14mo ago
Thank you! Deployed 🙂
Birk Skyum
Birk Skyum•14mo ago
Looks great! 🙂 I tried, and failed, to update Ember to 5.x in the js framework bench.
davedbase
davedbase•14mo ago
Ah, you're braver than I for trying at least hehehe
Birk Skyum
Birk Skyum•14mo ago
Actually managed to bump ember. solid-js is overtaking ember/inferno currently, and it might soon be reasonable to leave them out of the chart anyway
No description
Want results from more Discord servers?
Add your server