Skip to content

Commit

Permalink
Search-and-replace part of migration
Browse files Browse the repository at this point in the history
  • Loading branch information
senekor committed Oct 29, 2023
1 parent 2e012e4 commit 628e724
Show file tree
Hide file tree
Showing 33 changed files with 333 additions and 466 deletions.
30 changes: 15 additions & 15 deletions .vscode/leptos_component.code-snippets
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"Create a leptos component": {
"scope": "rust",
"prefix": "leptoscomponent",
"body": [
"use leptos::*;",
"",
"#[component]",
"pub fn ${1:NAME}(cx: Scope) -> impl IntoView {",
" view! { cx,",
" ${0:BODY}",
" }",
"}",
"",
],
}
"Create a leptos component": {
"scope": "rust",
"prefix": "leptoscomponent",
"body": [
"use leptos::*;",
"",
"#[component]",
"pub fn ${1:NAME}() -> impl IntoView {",
" view! {",
" ${0:BODY}",
" }",
"}",
""
]
}
}
Loading

0 comments on commit 628e724

Please sign in to comment.