Skip to content

Commit

Permalink
fix(core): fix installation issue
Browse files Browse the repository at this point in the history
fix installation issue
  • Loading branch information
yogakurniawan committed May 18, 2020
1 parent e9c3bec commit 31d6ac4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,14 @@ Install the plugin into Vue:
// src/plugins/vuetify.js

import Vue from 'vue';
import Vuetify from 'vuetify/lib';
import Vuetify from 'vuetify';
import 'vuetify/dist/vuetify.min.css'

Vue.use(Vuetify);

export default new Vuetify({
});

```

```javascript
Expand All @@ -65,6 +67,12 @@ import vuetify from "./plugins/vuetify";
Vue.use(VueTelInputVuetify, {
vuetify,
});

new Vue({
vuetify,
render: (h) => h(App),
}).$mount("#app");

```
> View all available options in [Props](#props).
Expand Down
5 changes: 0 additions & 5 deletions src/components/vue-tel-input-vuetify.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
<script>
import Vue from "vue";
import PhoneNumber from "awesome-phonenumber";
import { VSelect, VTextField } from "vuetify/lib";
import utils, { getCountry, setCaretPosition } from "../utils";
function getDefault(key) {
Expand All @@ -92,10 +91,6 @@ function getParents(node, memo) {
export default {
name: "VueTelInputVuetify",
components: {
VSelect,
VTextField
},
directives: {
// Click-outside by BosNaufal: https://github.com/BosNaufal/vue-click-outside
"click-outside": {
Expand Down

0 comments on commit 31d6ac4

Please sign in to comment.