20 lines
376 B
TypeScript
20 lines
376 B
TypeScript
import * as components from './components'
|
|
import * as directives from './directives'
|
|
import Vuetify from './framework'
|
|
|
|
export default Vuetify
|
|
|
|
const install = Vuetify.install
|
|
|
|
Vuetify.install = (Vue, args) => {
|
|
install.call(Vuetify, Vue, {
|
|
components,
|
|
directives,
|
|
...args,
|
|
})
|
|
}
|
|
|
|
if (typeof window !== 'undefined' && window.Vue) {
|
|
window.Vue.use(Vuetify)
|
|
}
|