example MFE application does not load styles from index.scss
@Syed-Ali-Abbas-Zaidi ci sta già lavorando.
Dal 28/3/2023.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Description
The example app within this repo is defined in the example folder. It acts as an example micro-frontend (MFE). The entry point for the example app (i.e., example/index.jsx) imports a index.scss file. This SCSS file currently imports SCSS from @edx/paragon and @edx/brand.
However, when running the example app on master (i.e., npm start runs app on localhost:8080), no styles are applied to the MFE in the browser:
Even adding the following to example/index.scss produces no results, even though it does seem to trigger a hot reload of the application:
body { background-color: red !important; }
Other MFEs (e.g., frontend-app-profile) injects inline <style> tags into the HTML <head> for the styles defined in the MFE:
Whereas the example MFE in this repo does not. It only includes the JS bundle and no inline <style> tags.
Impacts
The impact of this issue is that it's not possible to run the example app properly to QA styles when testing a new approach for loading external theme CSS.
- Lingua principale
- JavaScript
- Stelle
- 38
- Fork
- 90
- Merge medio
- 3m
- PR unite (30g)
- 4
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di openedx/frontend-platform
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
openedx/frontend-platform#745 · 3 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
openedx/frontend-platform#892 · 4 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
openedx/frontend-platform#837 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
openedx/frontend-platform#835 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
openedx/frontend-platform#833 ·
Tutte le issue di openedx/frontend-platform
Issue simili
-
marketing
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
enhancement good first issue severity: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
TMHSDigital/Static_Chess#163 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Account menu (footer ⚙) doesn't dismiss on outside click — stays open and covers the Bot listAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Fei2411/DeepSeek-Bot#1693 ·
-
area-templates triage:bot-seen triage:needs-human
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
microsoft/aspire#22356 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno