ericf / express-handlebars

A Handlebars view engine for Express which doesn't suck.
BSD 3-Clause "New" or "Revised" License
2.31k stars 384 forks source link

Not able to render external css which has been bundled using webpack #288

Closed akshayp660 closed 3 years ago

akshayp660 commented 4 years ago

In simple words, I am trying to add stylesheet by the twitter-bootstrap package which I bundled using laravel-mix(webpack) to my .hbs template. but not able to load this error is being logged into the browser console.

Refused to apply style from .css file because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

I am new to express handle-bar, please help

UziTech commented 4 years ago

This repo is no longer maintained. New versions of express-handlebars are maintained at https://github.com/express-handlebars/express-handlebars. If you create an issue there we can try to help you.