Settings

Theme

Show HN: Integrated ViteJS SSR in Rust

github.com

1 points by lionside 4 years ago · 1 comment

Reader

lionsideOP 4 years ago

Hi HN community,

One of the first requests I got for ‘create-rust-app’ was from a friend of mine regarding ViteJS. At the time, I didn’t know how awesome and fast ViteJS was as opposed to webpack and the name sounded like a JavaScript library so I didn’t really see the point. Upon a second review of the project, I realized the best thing I could do for the rust web dev community was to create an example of how to integrate ViteJS-based SSR in rust. And voilà, here it is. The docs also link to an “awesome list” which references create-rust-app [1].

This integration paves the way for things like adding multiple front end framework choices for the project and potentially doing SSG in rust.

[1] https://github.com/vitejs/awesome-vite#integrations-with-bac...

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection