Closed jz222 closed 3 years ago
Hi,
thanks for the work you are putting into this plugin.
I'm using svelte-routing in a project that makes use of slot properties, as shown in their example.
<Route path="/article/:id" let:params> <Article id="{params.id}" /> </Route>
While this compiles without issues, Webstorm complains that params on the Article component is not recognized.
params
Article
You need to use let:params={params} for now :grimacing:
let:params={params}
See #11
Released as part of 0.17.*
Hi,
thanks for the work you are putting into this plugin.
I'm using svelte-routing in a project that makes use of slot properties, as shown in their example.
While this compiles without issues, Webstorm complains that
params
on theArticle
component is not recognized.