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

Unexpected token, expected "}" #103

Open
bpereto opened this issue Aug 21, 2024 · 2 comments
Open

Unexpected token, expected "}" #103

bpereto opened this issue Aug 21, 2024 · 2 comments

Comments

@bpereto
Copy link

bpereto commented Aug 21, 2024

[plugin:vite-plugin-vue-inspector] unknown: Unexpected token, expected "}" (5:6)
  8 | })
src/ui/pages/settings.vue:5:6
3  |  
4  |  definePage({
5  |    meta: {
   |        ^
6  |      requiresAuth: true
7  |    },

definePage originates from unplugin-vue-router..
Deactivating vue-dev-tools(https://devtools-next.vuejs.org/) seems to mitigate the error.

not sure where the culprit is.

@songpeng154
Copy link

image
我也遇到这个Bug了

@mdartic
Copy link

mdartic commented Oct 25, 2024

I don't have the bug when I use the 0.9.1 version.

This bug occurs from 0.10.0 release of unplugin-vue-router...

Do you have found a work around ?

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

3 participants