Skip to content

我有2个页面,一个是login.html,一个是home.html,要登录了以后才可以访问home.html,请问要在一个vue3工程里去实现这个,该怎么做? #8814

Answered by ubbcou
liuyi asked this question in Help/Questions
Discussion options

You must be logged in to vote

登录页是单独的页面并且在同一个vite项目中,那么你可能需要的是多页面应用模式

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ubbcou
Comment options

Answer selected by liuyi
@liuyi
Comment options

Comment options

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

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