diff --git a/packages/plugin-vue/src/main.ts b/packages/plugin-vue/src/main.ts index b5ed3dc651da79..773fbf12f2ff47 100644 --- a/packages/plugin-vue/src/main.ts +++ b/packages/plugin-vue/src/main.ts @@ -444,7 +444,7 @@ async function linkSrcToDescriptor( // these are built-in query parameters so should be ignored // if the user happen to add them as attrs -const ignoreList = ['id', 'index', 'src', 'type', 'lang', 'module'] +const ignoreList = ['id', 'index', 'src', 'type', 'lang', 'module', 'scoped'] function attrsToQuery( attrs: SFCBlock['attrs'],