When utilizing the A-La-Carte
system in vuetify
with vuetify-loader
, I encountered a TypeScript error while trying to import vuetify/lib
. I am unsure of what mistake I might be making here and would appreciate some assistance with importing this.
I was referring to the guidance provided in this documentation
import Vue from 'vue'
import Vuetify from 'vuetify/lib' // Error line
import 'vuetify/src/stylus/app.styl'
Vue.use(Vuetify)
An error occurred stating: "Could not find a declaration file for module 'vuetify/lib'. '/Users/.../vuetify/lib/index.js' implicitly has an 'any' type."
I attempted replacing it with the following line, but that also did not work.
const Vuetify = require('vuetify/lib');