[core] vue warning on login page #8

Closed
opened 2021-05-21 09:25:07 +00:00 by groegert · 1 comment
Member

on the login page there is a vue-warning in the console:

[Vue warn]: setup() return property "q" should not start with "" or "_" which are reserved prefixes for Vue internals.

Is the '$'-sign here correct or should it be replaced or eleminated?

This would affect several components:
Login.vue
About.vue
MainPage.vue
Settings.vue
...

For the global quasar a different prefix than '$' should be choosen to eleminate the warning.

on the login page there is a vue-warning in the console: [Vue warn]: setup() return property "$q" should not start with "$" or "_" which are reserved prefixes for Vue internals. Is the '$'-sign here correct or should it be replaced or eleminated? This would affect several components: Login.vue About.vue MainPage.vue Settings.vue ... For the global quasar a different prefix than '$' should be choosen to eleminate the warning.
groegert added the
🤔 question
📺 frontend
labels 2021-05-21 09:25:07 +00:00
crimsen was assigned by groegert 2021-05-21 09:25:07 +00:00
Owner

Login.vue is fixed with 8c9db67b95

The $ was used with vue2 (OPTIONS-API) but with the composition API no globals are used, so just use a variable returned from setup().

Login.vue is fixed with https://flaschengeist.dev/Flaschengeist/flaschengeist-frontend/commit/8c9db67b95b3d1f99c19e353b4a8d804d7ecdf25 The `$` was used with vue2 (OPTIONS-API) but with the composition API no globals are used, so just use a variable returned from `setup()`.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Flaschengeist/flaschengeist#8
No description provided.