vuetifyjs / vue-cli-plugins

🔌 A collection of Vuetify plugins for Vue CLI
https://vuetifyjs.com/en/getting-started/quick-start#vue-cli-3
Other
427 stars 113 forks source link

Cannot revert Material Design study changes #183

Open soundeos opened 4 years ago

soundeos commented 4 years ago

I'm trying out the rally preset. It has a lighter background color from the default dark theme. After I comment out the preset usage in the vuetify.js file, the background color remains the same.

import Vue from 'vue';
import Vuetify from 'vuetify/lib';
//import { preset } from 'vue-cli-plugin-vuetify-preset-rally/preset'

Vue.use(Vuetify);

export default new Vuetify({
    //preset,
    theme: {
        dark: true
    }
});

Also, I need to manually remove the font link from the index.html. How can I disable these material design study themes? And how can I use a custom background color?

michaeltoohig commented 4 years ago

Same.

For anyone wondering what they can do though I found that if you remove the preset from your package.json dev section and then delete your node_modules directory and you may need to delete the package.lock file, then run yarn install again it will 'revert' the changes.

JessicaOPRD commented 3 years ago

I've been playing around with the Vuetify presets to weigh if creating a custom preset is a good idea. Spinning up new projects via vue create, vue add vuetify, and finally vue add vuetify-preset-{name}... I am seeing the same behavior. The preset's variables seem to "stick" even when preset is no longer passed as part of the project's Vuetify bootstrapping. Has anyone figured out why this is? All I can figure is that it has something to do with how Vue and/or Vuetify plugins are registered via add. I appreciate others posting about this. 👍