Questions tagged [single-spa]

Questions related to usage and implementation of single-spa and related technologies such as import maps, SystemJS, webpack/rollup configuration, etc.

Website: https://single-spa.js.org

FAQ: https://single-spa.js.org/docs/faq/

Docs: https://single-spa.js.org/docs/getting-started-overview

More help: https://single-spa.js.org/help/

Source code: https://github.com/single-spa

217 questions
0
votes
1 answer

I have created single-spa application using create single-spa and its working fine in all browser except IE11

IE11 error while running app Note: I have added core.js dependency, still getting error in IE
0
votes
0 answers

Single-spa - is there a way to show loader while switching between micro frontends?

I am using single-spa for a project, it consists of one root-config and multiple vue micro-frontends, i need to show overlay from vuetify overlay, is there a way i can acheive from mount function?? root-config.js import * as singleSpa from…
0
votes
0 answers

[angular][single-spa] different build result by differen OS

I have an Anglular application that is using the single-spa-angular framework: https://single-spa.js.org/ By doing the same build on two different environments I have two different dist contents. locally we are on a windows environment. in a jenkins…
pagurix
  • 1,926
  • 1
  • 12
  • 8
0
votes
1 answer

publicPath does not work but __webpack_public_path__ does

I am building a Single SPA application and am facing problems toward deployment. I am deploying each app inside a subdirectory (app-bar-mf, products-mf, and so on), and root-config (the main application) at base. When working locally, each app is…
0
votes
1 answer

Font Awesome and JQuery are not working in Single SPA Angular app

I have created a single-spa angular app in which i have installed font-awesome and jquery and bootstrap using "npm install --save bootstrap jquery@3.4.1 font-awesome". After that i have provided the url of this js and css inside angular.json file so…
0
votes
1 answer

Pass single-spa prop to i18n instantiation

is there a way to pass a single-spa prop to a vue i18n instance, assigning it to the messages i18n prop. I18n constructor: const i18n = new VueI18n({ locale: process.env.VUE_APP_I18N_LOCALE, messages: {}, }); Vue single-spa instance: const…
Marcel Klein
  • 117
  • 1
  • 1
  • 9
0
votes
1 answer

angular 8 throw error `has no exported member 'ɵBrowserPlatformLocation'.`

I am getting an error while i compile my angular as : ERROR in node_modules/single-spa-angular/src/extra-providers.d.ts:2:10 - error TS2305: Module '"D:/trails/spa-angular-shared/login/node_modules/@angular/common/common"' has no exported member…
3gwebtrain
  • 14,640
  • 25
  • 121
  • 247
0
votes
1 answer

Is it possible to use single-spa (import map + SystemJS) and include TypeScript declarations?

I've created a few apps that follow the same pattern as the react-microfrontend projects listed on the Single-spa examples page. However, these examples are not using TypeScript. I am receiving a TS error when App2 tries to import a function that…
Eric
  • 3
  • 1
  • 2
0
votes
1 answer

A problem when I use webpack-5's libraryTarget:window

I'm using the single-spa to create my apps. When I load the micro-frontend app, I did not use SystemJS, Just as follows: export const runScript = async (url: string) => { return new Promise((resolve, reject) => { const script =…
Toulon
  • 1
0
votes
0 answers

single-spa shared component with vue.js

Hello, I am building a micro frontend architecture with single-spa. In my main app (bootstrap), I declare my fragments, my routing and I inject the component library (ex: element UI), and my authentication library (custom). Everything works fine,…
Brice Chaponneau
  • 564
  • 2
  • 9
  • 22
0
votes
0 answers

Single SPA React Application Micro frontend

I have react application that is developed in create react app. Now i am integrating micro frontend using single spa. I have converted React application as single spa. Working fine. Problem : I have another react application which is developed in…
Gokul Krishnan
  • 605
  • 1
  • 5
  • 5
0
votes
0 answers

Sometimes some micro front end is not loaded properly in single spa framework

In my main index.html file, I had given following kind of routes.