I created a "plug-in" myself through the plug-in registration method provided by Vue. After a long period of robust testing, I want to transfer it out to generate a separate Vue plug-in and publish it on npm. The previous project used vue cli.
how should I configure webpack now to make my Vue plug-in work?
is there a similar cli that makes it easier for me to create vue plug-ins?
Update
if you want to package the vue plug-in into a npm package
, you need to write some webpack rules separately and eventually generate a xxx.js xxx.css file to provide to the user.