-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import external css files #105
Comments
You can use |
How would one use |
@cipriancirstea I guess you solved this or gave up, but I just hit this issue and solved it by making it an array, like:
I don't know if there is a better way to do this with a less brittle path, but trying to put the path starting with |
only first one will be applied |
Try this, at least it works for me.
|
We recently released a fix that resolved the bug around @Component({
tag: 'my-component',
styleUrls: ['reset.scss', 'roboto.scss', 'css-variables.scss', 'core.scss']
})
export class MyComponent {
// ...
} see #5131. It was released with |
@will-hu-0 won't the browser make multiple network requests to that stylesheet in the |
It does make multiple requests..
|
I'd like to import a css file alongside the component, is this possible like so or using a different syntax?
This is what I use with react, but it fails in stencil, can you add a css-loader or provide us with an alternative solution? Thanks 🔢
The text was updated successfully, but these errors were encountered: