-
-
Notifications
You must be signed in to change notification settings - Fork 78.8k
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
Docs: Add a Vite Getting Started guide #36412
Docs: Add a Vite Getting Started guide #36412
Conversation
2a20263
to
32dbf73
Compare
9d61a11
to
f9e2151
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pushed updated images for the header and the server screenshots. Also took a quick run through this and it was all set up without issue. Lovely!
Let me know if you need access to the twbs/examples
repo to add this yourself or if I should after you're done :).
@XhmikosR Anynchance you can check out the Calibre action settings to see if we can automate your compression settings? |
@mdo I'll have a look later, but I doubt it can match my config since I'm running numerous tools. BTW that action should have landed in a separate PR. |
😁👍🏻 |
4b3e50c
to
e54adf4
Compare
Done it in twbs/examples#2. StackBlitz example is not yet done. |
Co-authored-by: Mark Otto <otto@github.com>
62ba5a1
to
bdf0142
Compare
This comment was marked as spam.
This comment was marked as spam.
* Docs: Add a Vite Getting Started guide * Fix npm run docs temporarily * Fix cspell and lint * Uncomment the 2nd part * . * Make it work without dist * Updates after merges of Parcel/Webpack guides rewriting * Update images * Replace dev images * Compress the new images better * Update site/content/docs/5.2/customize/optimize.md Co-authored-by: Mark Otto <otto@github.com> * Update site/content/docs/5.2/getting-started/vite.md Co-authored-by: Mark Otto <markdotto@gmail.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Mark Otto <otto@github.com>
Based on the rewrite of Webpack and Parcel Getting Started guides, let's create a Vite guide.
Pre-requisites
Tasks
Check if it is not better to start the guide bynpm create vite@latest my-project -- --template vanilla
Are some loaders not missing?index.html
needs to be updated for Parcel and Webpack ton include Vite referenceIn those example, having links to 5.2 isn't too hard to maintain?vite.new/bootstrap
?Live preview