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

Vuetify #48

Closed
Teodorko opened this issue May 24, 2018 · 8 comments
Closed

Vuetify #48

Teodorko opened this issue May 24, 2018 · 8 comments

Comments

@Teodorko
Copy link

Hello!
Excuse me for my English)

I added a vuetify to this boilerplate.
But the components do not use colors from the theme.
for example

looks like this
image

and vuetify object
image

I hope you can tell me what I'm doing wrong.

@dannyrb
Copy link

dannyrb commented May 25, 2018

Are you wrapping everything in <v-app>? I think that's what provides the context for which theme variables to use (I could be wrong).

See: https://vuetifyjs.com/en/style/theme

@Teodorko
Copy link
Author

Yes i do.
All the components work correctly. I can even assign a color.
image
<v-tooltip slot="actionButton" bottom > <v-btn slot="activator" color="light-green" dark > <v-icon>add</v-icon> </v-btn> <span>Add new document</span> </v-tooltip>
Only theme colors do not work

@Teodorko
Copy link
Author

@chrisvfritz may be you can help me :)

@chrisvfritz
Copy link
Collaborator

@Teodorko Unfortunately, I don't have any ideas. 😅 I've never used Vuetify themes and can't think of anything specific to this boilerplate that might cause the problem. If it's possible to provide a link to the source code, it's possible someone else may be able to see what's going wrong.

@frandiox
Copy link
Contributor

I just mentioned this in #45. I believe it's the same issue. Use metaInfo instead of page for providing information to vue-meta and it will work 👍

@Teodorko
Copy link
Author

@frandiox
Thank you very much friend !!

  1. src/router/index.js
    Vue.use(VueMeta, {
    keyName: 'page', --> keyName: 'metaInfo'
    })
  2. in components
    page -> metaInfo
    And it's works!

image
<v-btn :loading="tryingToLogIn" :disabled="tryingToLogIn" color="primary" block type="submit" > Login </v-btn>

@pynner
Copy link

pynner commented Feb 26, 2019

Can confirm this is still an issue, Vuetify colors have no effect until the above change is made

@dyardyGIT
Copy link

Is there a github sample of using vuetify. I am oddly still getting lots of odd errors

i.e.
importing through at runtime (dependency injection), move index.js to same directory as nprogress/nprogress or consider making nprogress/nprogress a package import/no-relative-parent-imports
7:1 error @state/store import should occur before import of vue

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

6 participants