chore: prettier
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
|
||||
<script setup>
|
||||
defineComponent({
|
||||
name: 'HostComponent'
|
||||
name: "HostComponent"
|
||||
})
|
||||
</script>
|
||||
</script>
|
||||
|
||||
+8
-8
@@ -1,22 +1,22 @@
|
||||
import { defineNuxtConfig } from 'nuxt/config'
|
||||
import federation from '@originjs/vite-plugin-federation'
|
||||
import { defineNuxtConfig } from "nuxt/config"
|
||||
import federation from "@originjs/vite-plugin-federation"
|
||||
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2024-04-03',
|
||||
compatibilityDate: "2024-04-03",
|
||||
devtools: { enabled: false },
|
||||
ssr: false,
|
||||
vite: {
|
||||
plugins: [
|
||||
federation({
|
||||
name: 'host-app',
|
||||
name: "host-app",
|
||||
remotes: {
|
||||
remote: 'http://localhost:3001/_nuxt/remoteEntry.js',
|
||||
},
|
||||
remote: "http://localhost:3001/_nuxt/remoteEntry.js"
|
||||
}
|
||||
// shared: ['vue']
|
||||
})
|
||||
],
|
||||
build: {
|
||||
target: 'esnext'
|
||||
target: "esnext"
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user