Przeglądaj źródła

fix(cfc-web): ensure .vue resolution in webpack

Xiaogang Liao 2 miesięcy temu
rodzic
commit
0d3952a850
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      cfc-frontend/vue.config.js

+ 6 - 0
cfc-frontend/vue.config.js

@@ -3,4 +3,10 @@ module.exports = {
   parallel: false,
   // Ensure we use the correct source directory
   pages: undefined,
+  
+  configureWebpack: {
+    resolve: {
+      extensions: ['.vue', '.js', '.json'], // Ensure .vue files resolve correctly
+    }
+  }
 }