Skip to content

Sass preprocessor creates .css file with content-type text/html #3149

Closed
@cubanpete

Description

@cubanpete

Hi guys,
I've installed the sass-chokidar as explained in readme file. All scss files are compiled in to one App.css file and then I import it in the html file with

<link href="/src/App.css" rel="stylesheet" type="text/css">

The classes in the file is not beeing rendered in the browser and when I inspect it in the network inspector, I can se that it has a content-type of "text/html". Can anyone help me where to add a content-type to the App.css file?

Thanks
Kasper

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions