Bundling a plugin with Rollup but having duplicate Vue.js package imported in the client app's bundle (Nuxt)
问题 Dear Stack Overflow / Vue.js / Rollup community This could be a noob question for the master plugin developers working with Vue and Rollup. I will write the question very explicitly hoping that it could help other noobs like me in the future. I have simple plugin that helps with form validation. One of the components in this plugin imports Vue in order to programatically create a component and append to DOM on mount like below: import Vue from 'vue' import Notification from './Notification