How do you protect a private area for a single page app in Vue? (Best Practice)

前端 未结 0 1578
-上瘾入骨i
-上瘾入骨i 2020-12-18 03:05

I\'m new to Vue and SPAs so maybe this is a simple question... To restrict access to certain pages in Vue I\'m using the following code. It uses meta data in the route defin

相关标签:
回答
  • 消灭零回复
提交回复
热议问题