Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example code for Router with Parameter #50

Open
bobwatcherx opened this issue Jun 28, 2023 · 1 comment
Open

example code for Router with Parameter #50

bobwatcherx opened this issue Jun 28, 2023 · 1 comment

Comments

@bobwatcherx
Copy link

give me example how to get parameter
example from url here http://localhost:5000/#/about/dqwqwdq

value params is dqwqwdq

and add to docs for that

@bobwatcherx
Copy link
Author

Traceback (most recent call last):
File http://localhost:5000/#/about/dqwqwdq/__main__ line 1, in
import app
File app, line 13
parameter_value = self.$route.params.get(parameter_name)
^
SyntaxError: invalid syntax (unknown token [$])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant