Closed cschulze86 closed 1 year ago
Hello, managed to solve it myself. It seems multiple copies of Vue were being used. I updated the contents of my vue.config.js file to the following:
const path = require('path');
const { defineConfig } = require('@vue/cli-service');
module.exports = defineConfig({
transpileDependencies: true,
chainWebpack: config => {
config.resolve.symlinks(false);
config.resolve.alias.set('vue', path.resolve('./node_modules/vue'));
}
});
Hello,
Apologies if this is incredibly stupid, but I have been digging through all available resources and stack overflow answers, and haven't been able to work out what's going on here.
Uncaught TypeError: Cannot read properties of null (reading 'isCE') at renderSlot (runtime-core.esm-bundler.js:2812:1) at eval (sortablejs-vue3.es.js:102:1) at normalizeChildren (runtime-core.esm-bundler.js:7001:1) at createBaseVNode (runtime-core.esm-bundler.js:6812:1) at _createVNode (runtime-core.esm-bundler.js:6889:1) at createVNodeWithArgsTransform (runtime-core.esm-bundler.js:6766:1) at createBlock (runtime-core.esm-bundler.js:6738:1) at Proxy.eval (sortablejs-vue3.es.js:97:1) at renderComponentRoot (runtime-core.esm-bundler.js:815:1) at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5704:1)
Here is the component, which was working fine before I tried using Sortable.:
and this is the main App.vue:
I'm really struggling to work out what's going on here, and any support you can offer would be greatly appreciated.