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: refactor ssr #166
Merged
Merged
docs: refactor ssr #166
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
07370ad
docs: refactor ssr
brillout f41df5f
docs: create separate sections for Frameworks and Boilerplates
brillout 1e06f27
docs: add links to SSR frameworks section + remove SSR Boilerplates s…
brillout f86c9b6
docs: improve SSR frameworks note.
brillout df6bace
docs: update SSR framework hash link
brillout File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,7 +81,6 @@ Use the "Table on Contents" menu on the top-left corner to explore the list. | |
#### Svelte | ||
|
||
- [sttv](https://github.com/srmullen/sttv) - Svelte, TailwindCSS, TypeScript. | ||
- [svelte-vite-ssr](https://github.com/jiangfengming/svelte-vite-ssr) - Svelte with SSR support. | ||
|
||
## Plugins | ||
|
||
|
@@ -121,10 +120,6 @@ Use the "Table on Contents" menu on the top-left corner to explore the list. | |
- [vite-plugin-html-config](https://github.com/ahwgs/vite-plugin-html-config) - HTML tag configuration, such as script link style meta favicon and more. | ||
- [vite-plugin-html-template](https://github.com/IndexXuan/vite-plugin-html-template) - HTML template for vite app, like html-webpack-plugin for webpack. | ||
|
||
#### SSR | ||
|
||
- [vite-plugin-ssr](https://github.com/brillout/vite-plugin-ssr) - Like Nuxt/Next.js but with a simpler design that works with any view framework. | ||
|
||
#### Helpers | ||
|
||
- [vite-tsconfig-paths](https://github.com/aleclarson/vite-tsconfig-paths) - Support for TypeScript's path mapping. | ||
|
@@ -176,11 +171,9 @@ In this section, we use badges to indicate the targeted Vue version for each plu | |
- ![v3] [vite-plugin-vuedoc](https://github.com/JasKang/vite-plugin-vuedoc) - Markdown Code block as Vue Preview components. | ||
- ![v3] [vite-svg-loader](https://github.com/jpkleemans/vite-svg-loader) - Load SVG files as Vue components. | ||
|
||
#### SSR / SSG | ||
#### SSG | ||
|
||
- ![v3] [vite-ssg](https://github.com/antfu/vite-ssg) - Server-side generation. | ||
- ![v3] [vite-ssr](https://github.com/frandiox/vite-ssr) - Server-side rendering. | ||
- ![v3] [vitedge](https://github.com/frandiox/vitedge) - Edge-side rendering with fullstack utilities. | ||
|
||
#### Ecosystem | ||
|
||
|
@@ -274,6 +267,27 @@ In this section, we use badges to indicate the targeted Vue version for each plu | |
|
||
- Check the [Awesome Rollup list](https://github.com/rollup/awesome) for community maintained rollup plugins, and refer to the Vite docs section about [rollup plugin compatibility](https://vitejs.dev/guide/api-plugin.html#rollup-plugin-compatiblity). | ||
|
||
## SSR | ||
|
||
[react]: https://img.shields.io/badge/-React-61dafb | ||
[vue2]: https://img.shields.io/badge/-Vue%20v2-41b883 | ||
[vue3]: https://img.shields.io/badge/-Vue%20v3-41b883 | ||
[svelte]: https://img.shields.io/badge/-Svelte-ff3e00 | ||
|
||
<!--lint disable awesome-list-item--> | ||
|
||
### Libraries | ||
|
||
- [vite-ssr](https://github.com/frandiox/vite-ssr) ![react] ![vue3] - Server-side rendering. | ||
- [vite-plugin-ssr](https://github.com/brillout/vite-plugin-ssr) ![react] ![vue3] ![vue2] ![svelte] - Like Nuxt/Next.js but as a do-one-thing-do-it-well plugin. | ||
|
||
### Frameworks & Boilerplates | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Think we should separate them There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
|
||
- [vitedge](https://github.com/frandiox/vitedge) ![react] ![vue3] - Edge-side rendering with fullstack utilities. | ||
- [svelte-vite-ssr](https://github.com/jiangfengming/svelte-vite-ssr) ![svelte] - Svelte with SSR support. | ||
|
||
<!--lint enable awesome-list-item--> | ||
|
||
## Integrations with Backends | ||
|
||
### Ruby on Rails | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
If we extract SSR into another section, maybe it's better to add a line saying that "Refer to the SSR section for SSR supports"
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.
What do you mean?
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.
Like, I might look into the Vue section and trying to find the SSR support for Vue. But now we move it to another section, which might confuse ppl like "Oh Vite does not support SSR for Vue?" or some sort of the things.
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.
Ah, I see.
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.
Done.
I've decided to remove the SSR Boilerplates section because the whole idea here is to let users know about higher-level alternatives to Vite's native SSR API; boilerplates are not contributing here.