Skip to content

Commit

Permalink
fix(core): support vuetify loader
Browse files Browse the repository at this point in the history
support vuetify loader
  • Loading branch information
yogakurniawan committed Jul 10, 2020
1 parent 9651eb5 commit 072910f
Show file tree
Hide file tree
Showing 21 changed files with 5,624 additions and 18,303 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ With vuetify loader:
```javascript
// src/VueComponent.js

import VueTelInputVuetify from "vue-tel-input-vuetify/src/components/vue-tel-input-vuetify"
import VueTelInputVuetify from "vue-tel-input-vuetify/lib/vue-tel-input-vuetify.vue"

<template>
<vue-tel-input-vuetify></vue-tel-input-vuetify>
Expand Down
11 changes: 10 additions & 1 deletion build/rollup.config.base.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import babel from 'rollup-plugin-babel';
import copy from 'rollup-plugin-copy';
import resolve from 'rollup-plugin-node-resolve';
import vue from 'rollup-plugin-vue';
import cjs from 'rollup-plugin-commonjs';
Expand All @@ -9,7 +10,7 @@ import analyze from 'rollup-plugin-analyzer';
const config = require('../package.json');

export default {
input: 'src/index.js',
input: 'src/lib/index.js',
plugins: [
resolve({
mainFields: ['module', 'jsnext:main', 'main', 'browser'],
Expand All @@ -28,6 +29,14 @@ export default {
}),
postcss(),
analyze(),
copy({
targets: [
{
src: 'src/lib/**/*',
dest: 'lib'
},
]
}),
],
watch: {
include: 'src/**',
Expand Down

0 comments on commit 072910f

Please sign in to comment.