Skip to content

Minimal Router for petite-vue #83

Answered by Fry98
drunksaint asked this question in Q&A
Sep 15, 2021 · 5 comments · 10 replies
Discussion options

You must be logged in to vote

If you really need client-side routing, you should use regular Vue. petite-vue is made specifically to add a little bit of additional functionality on top of your server rendered page and it's not at all compatible with vue-router. If you don't need to share global state between different routes, you can of course just include petite-vue on multiple different server rendered pages. If you need your app to be a real SPA however then petite-vue is just not a right choice for that.

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by drunksaint
Comment options

You must be logged in to vote
8 replies
@niutech
Comment options

@pwFoo
Comment options

@niutech
Comment options

@pwFoo
Comment options

@niutech
Comment options

Comment options

You must be logged in to vote
1 reply
@jikkuatwork
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jikkuatwork
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants