You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use my application both as a general mfe app and by Exporting the kanbancard from within the sub-application. I made the code below, but my mfe application is crashing, how do I do it?
#1
Open
tunahan-guler opened this issue
Dec 28, 2023
· 0 comments
`import { appTools, defineConfig, mergeConfig } from '@modern-js/app-tools'
import { garfishPlugin } from '@modern-js/plugin-garfish/cli'
import { tailwindcssPlugin } from '@modern-js/plugin-tailwindcss';
import ChunkPatchPlugin from './ChunkPatchPlugin';
// https://modernjs.dev/en/configure/app/usage
export default defineConfig({
html: {
title: 'CRM',
},
dev: {
port: 8081,
assetPrefix: 'http://localhost:8081/',
},
runtime: {
router: true,
state: true,
},
source: {
enableAsyncEntry: true,
},
deploy: {
microFrontend: true,
},
tools:{
devServer:{
headers:{
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, PATCH, OPTIONS",
"Access-Control-Allow-Headers": "X-Requested-With, content-type, Authorization"
}
},
webpack: (config, { webpack, appendPlugins }) => {
//@ts-ignore
},
plugins: [appTools(), garfishPlugin(), tailwindcssPlugin()],
})
`
The text was updated successfully, but these errors were encountered: