@mycure/vue-plugins
v0.6.28
Published
- clone vue plugins - install dependencies and build - run `yarn link` inside vue-plugins repo - go to consuming vue project's repo - run `yarn link @mycure/vue-plugins` to install the package as a dependency (this should be done every after yarn install/
Downloads
65
Readme
Faster Development
- clone vue plugins
- install dependencies and build
- run
yarn link
inside vue-plugins repo - go to consuming vue project's repo
- run
yarn link @mycure/vue-plugins
to install the package as a dependency (this should be done every after yarn install/add/remove/upgrade) - add these to your
vue.config.js
file
// vue.config.js
module.exports = {
transpileDependencies: [
'@mycure/vue-plugins'
],
configureWebpack: {
resolve: {
alias: {
'@mycure/vue-plugins$': '@mycure/vue-plugins/src'
}
}
}
}
// consume in your app using exact matching
// plugins.js
import Vue from 'vue';
import plugins from '@mycure/vue-plugins';
Vue.use(plugins);