leptos-rs / book

The home for the Leptos book, which can be found deployed at https://book.leptos.dev
MIT License
59 stars 58 forks source link

Added SSR feature in rust-analyzer getting started. #83

Closed williameliasson-dev closed 3 months ago

williameliasson-dev commented 3 months ago

without this rust-analyzer won't give suggestions for any crates in the ssr feature due to the optional flag being true.

Had this issue my self and took a while to figure out.

gbj commented 3 months ago

I'd also recommend setting rust-analyzer to check all features on all projects (rust-analyzer.cargo.allFeatures)