Skip to content

Commit

Permalink
Added SSR feature (#83)
Browse files Browse the repository at this point in the history
without this rust-analyzer won't give suggestions for anything in the ssr feature due to the optional flag being true.
  • Loading branch information
williameliasson-dev authored Mar 22, 2024
1 parent 4623094 commit 5f74b46
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/getting_started/leptos_dx.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ VSCode `settings.json`:
}
```

VSCode with cargo-leptos `settings.json`:
```json
"rust-analyzer.procMacro.ignored": {
"leptos_macro": [
// optional:
// "component",
"server"
],
},
"rust-analyzer.cargo.features": ["ssr"]
```

neovim with lspconfig:

```lua
Expand Down

0 comments on commit 5f74b46

Please sign in to comment.