You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
decorator: @route(/app/{name: string}) applies the component with a string prop name
extracts the captured pattern \w+ which means the second argument is inferred to be of type (string) -> 'a and further infers the decorated view accepts the parameters declared in the output object
static version: @route("/app/settings")
directive / property: <div :route="/login" />
dynamic version: <div :route={/items?id={id: number}} /> applies the component with a number prop id
decorator:
@route(/app/{name: string})
applies the component with astring
propname
\w+
which means the second argument is inferred to be of type(string) -> 'a
and further infers the decorated view accepts the parameters declared in the output object@route("/app/settings")
directive / property:
<div :route="/login" />
<div :route={/items?id={id: number}} />
applies the component with anumber
propid
declarative:
The text was updated successfully, but these errors were encountered: