[Vuejs]-"$material.text has no property .primary" in vuetify/src/stylus/components/_app.styl after updating vuetify

0👍

You did a very big update. Quite hard everything that changed. I will post few stuff that you need to check assuming everything else is quite up to date. Hope your problem is in one of these files

main.js:

import Vue from 'vue'
import "./plugins/vuetify";
import App from './App'
import router from './router'
import VeeValidate from 'vee-validate'
import store from './store'

Vue.config.productionTip = false

Vue.use(VeeValidate, {
    errorBagName: 'vErrors'
})

/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  render: h => h(App)
})

vuetify.js:

import Vue from 'vue'
import Vuetify from 'vuetify/lib'
import 'vuetify/src/stylus/app.styl'

Vue.use(Vuetify, {
  iconfont: 'md',
})

index.html:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title>temp</title>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Material+Icons">
  </head>
  <body>
    <noscript>
      <strong>We're sorry but temp doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>

Leave a comment