Migrating to vue3 issues #9979
Replies: 3 comments 2 replies
-
Can you provide a minimal repository that reproduces the problem? 🧐 |
Beta Was this translation helpful? Give feedback.
-
we're glad to help |
Beta Was this translation helpful? Give feedback.
-
I too am seeing this. This is the info I have right now, not sure how to break this down to a simple reproducer. This is an app using webpack as a build tool with As the error states, it is failing in the Below is one of the components that <template>
<div class="page-heading mb-4">
<h1 class="page-heading__title rfs-1-75 mt-0 mb-0">
<slot name="title" />
</h1>
<h2 v-if="$slots.subtitle" class="page-heading__subtitle rfs-1-25 mt-0 mb-0">
<slot name="subtitle" />
</h2>
<div v-if="$slots.extra" class="page-heading__extra-info font-weight-bold">
<slot name="extra" />
</div>
</div>
</template>
<style lang="scss">
@import '../../../../scss/admin/imports';
@import '../../../../scss/components/admin/page-heading';
</style> This is the dump of {
type: 1,
tag: 'div',
ns: 0,
tagType: 0,
props: [
{
type: 6,
name: 'class',
nameLoc: [Object],
value: [Object],
loc: [Object]
}
],
children: [
{
type: 1,
tag: 'h1',
ns: 0,
tagType: 0,
props: [Array],
children: [Array],
loc: [Object],
codegenNode: undefined
},
{
type: 1,
tag: 'h2',
ns: 0,
tagType: 0,
props: [Array],
children: [Array],
loc: [Object],
codegenNode: undefined
},
{
type: 1,
tag: 'div',
ns: 0,
tagType: 0,
props: [Array],
children: [Array],
loc: [Object],
codegenNode: undefined
}
],
loc: {
start: { column: 5, line: 2, offset: 15 },
end: { column: 11, line: 12, offset: 435 },
source: '<div class="page-heading mb-4">\n' +
' <h1 class="page-heading__title rfs-1-75 mt-0 mb-0">\n' +
' <slot name="title" />\n' +
' </h1>\n' +
' <h2 v-if="$slots.subtitle" class="page-heading__subtitle rfs-1-25 mt-0 mb-0">\n' +
' <slot name="subtitle" />\n' +
' </h2>\n' +
' <div v-if="$slots.extra" class="page-heading__extra-info font-weight-bold">\n' +
' <slot name="extra" />\n' +
' </div>\n' +
' </div>'
},
codegenNode: undefined
} We see the same error on a lot of components, but this one is the first that I found in the output that is an entirely standalone component. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I am trying to migrate to Vue3 with migration build, but i get 200+ compile errors for vue-loader that all look like this:
Any ideas what could be the reason for this?
Beta Was this translation helpful? Give feedback.
All reactions