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

app跳转到nuve写的页面时ROUTES is not defined #20

Open
ly2019i opened this issue Nov 5, 2021 · 1 comment
Open

app跳转到nuve写的页面时ROUTES is not defined #20

ly2019i opened this issue Nov 5, 2021 · 1 comment

Comments

@ly2019i
Copy link

ly2019i commented Nov 5, 2021

在h5和小程序端显示正常,app端跳转到nvue写的页面时Uncaught ReferenceError: ROUTES is not defined

@SilurianYang
Copy link
Owner

nvue 不支持 vue 及webpack 注入 所以你在 nvue 中无法访问 ROUTES ,你可以通过uni-app挂载全局变量的方式获取

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

2 participants