Skip to content

Commit

Permalink
feat: export VuetifyLoaderPlugin from index.js
Browse files Browse the repository at this point in the history
closes #138
  • Loading branch information
KaelWD committed Jul 11, 2020
1 parent 9f0e669 commit 660faf9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -12,7 +12,7 @@
```js
// webpack.config.js

const VuetifyLoaderPlugin = require('vuetify-loader/lib/plugin')
const { VuetifyLoaderPlugin } = require('vuetify-loader')

exports.plugins.push(
new VuetifyLoaderPlugin()
Expand All @@ -23,7 +23,7 @@ You can also provide a custom match function to import your own project's compon
```js
// webpack.config.js

const VuetifyLoaderPlugin = require('vuetify-loader/lib/plugin')
const { VuetifyLoaderPlugin } = require('vuetify-loader')

exports.plugins.push(
new VuetifyLoaderPlugin({
Expand Down
10 changes: 6 additions & 4 deletions lib/index.js
@@ -1,5 +1,7 @@
const vuetifyLoader = require('./loader')
const progressiveLoaderModule = require('../progressive-loader/module')
const VuetifyLoader = require('./loader')
const VuetifyLoaderPlugin = require('./plugin')
const ProgressiveLoaderModule = require('../progressive-loader/module')

module.exports = vuetifyLoader
module.exports.VuetifyProgressiveModule = progressiveLoaderModule
module.exports = VuetifyLoader
module.exports.VuetifyLoaderPlugin = VuetifyLoaderPlugin
module.exports.VuetifyProgressiveModule = ProgressiveLoaderModule

0 comments on commit 660faf9

Please sign in to comment.