Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alicewriteswrongs/style-urls-repro
repro for https://github.com/ionic-team/stencil/issues/5016
https://github.com/alicewriteswrongs/style-urls-repro
Last synced: about 1 month ago
JSON representation
repro for https://github.com/ionic-team/stencil/issues/5016
- Host: GitHub
- URL: https://github.com/alicewriteswrongs/style-urls-repro
- Owner: alicewriteswrongs
- License: mit
- Created: 2023-11-29T16:32:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-29T16:32:55.000Z (about 1 year ago)
- Last Synced: 2024-10-09T01:42:45.559Z (4 months ago)
- Language: TypeScript
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# styleUrls reproduction case
This reproduces https://github.com/ionic-team/stencil/issues/5016
We claim to support `styleUrls`, putting multiple stylesheets into a component,
but this doesn't work!In this repro `my-component` has two stylesheets, one of which sets the
background to `red`. However, if you:```sh
npm install
npm start
```You will not see a red background. You can confirm that it's pulling in only
the _first_ stylesheet by either switching the order of the filenames in
`styleUrls` or checking the `style` tag in the shadow root in the inspector.