Skip to content

Support to import css as sheet #394

@StefanRichterHuber

Description

@StefanRichterHuber

Hello,

I want to use Quarkus web bundler with (lit) web components with a common style sheet.

Example

// Any support for a for imports like that?
import sheet from './app.css' assert { type: 'css' }; 

@customElement('my-comp')
export class MyComp extends LitElement {
  static styles = [sheet];
}

Unfortunately I don't see how to implement something like with quarkus-web bundler. Is it possible at all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions