You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I install the newest version of vue-moveable, my moveable component is not working. After I check the code, I found that it is just an empty component exported by dist/moveable.esm.js.
Here is the source code.
/*Copyright (c) Daybrushname: vue-moveablelicense: MITauthor: Daybrushrepository: https://github.com/daybrush/moveable/blob/master/packages/vue-moveableversion: 2.0.0-beta.83*/export*from'react-moveable/types';functionnormalizeComponent(template,style,script,scopeId,isFunctionalTemplate,moduleIdentifier/* server only */,shadowMode,createInjector,createInjectorSSR,createInjectorShadow){if(typeofshadowMode!=='boolean'){createInjectorSSR=createInjector;createInjector=shadowMode;shadowMode=false;}// Vue.extend constructor export interop.constoptions=typeofscript==='function' ? script.options : script;// render functionsif(template&&template.render){options.render=template.render;options.staticRenderFns=template.staticRenderFns;options._compiled=true;// functional templateif(isFunctionalTemplate){options.functional=true;}}// scopedIdif(scopeId){options._scopeId=scopeId;}lethook;if(moduleIdentifier){// server buildhook=function(context){// 2.3 injectioncontext=context||// cached call(this.$vnode&&this.$vnode.ssrContext)||// stateful(this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext);// functional// 2.2 with runInNewContext: trueif(!context&&typeof__VUE_SSR_CONTEXT__!=='undefined'){context=__VUE_SSR_CONTEXT__;}// inject component stylesif(style){style.call(this,createInjectorSSR(context));}// register component module identifier for async chunk inferenceif(context&&context._registeredComponents){context._registeredComponents.add(moduleIdentifier);}};// used by ssr in case component is cached and beforeCreate// never gets calledoptions._ssrRegister=hook;}elseif(style){hook=shadowMode
? function(context){style.call(this,createInjectorShadow(context,this.$root.$options.shadowRoot));}
: function(context){style.call(this,createInjector(context));};}if(hook){if(options.functional){// register for functional component in vue fileconstoriginalRender=options.render;options.render=functionrenderWithStyleInjection(h,context){hook.call(context);returnoriginalRender(h,context);};}else{// inject component registration as beforeCreate hookconstexisting=options.beforeCreate;options.beforeCreate=existing ? [].concat(existing,hook) : [hook];}}returnscript;}/* script *//* template *//* style */const__vue_inject_styles__=undefined;/* scoped */const__vue_scope_id__=undefined;/* module identifier */const__vue_module_identifier__=undefined;/* functional template */const__vue_is_functional_template__=undefined;/* style inject *//* style inject SSR *//* style inject shadow dom */const__vue_component__=/*#__PURE__*/normalizeComponent({},__vue_inject_styles__,{},__vue_scope_id__,__vue_is_functional_template__,__vue_module_identifier__,false,undefined,undefined,undefined);// import VueMoveable from './VueMoveable';export{__vue_component__asVueMoveable,__vue_component__asdefault};//# sourceMappingURL=moveable.esm.js.map
I have tried older versions, and found start from version 78 which upgrade the @daybrush/builder to version ^0.2.4, has this bug.
The text was updated successfully, but these errors were encountered:
Environments
Description
When I install the newest version of
vue-moveable
, my moveable component is not working. After I check the code, I found that it is just an empty component exported bydist/moveable.esm.js
.Here is the source code.
I have tried older versions, and found start from version 78 which upgrade the
@daybrush/builder
to version^0.2.4
, has this bug.The text was updated successfully, but these errors were encountered: