Comments (4)
Have you take a look at the sample
dir on this repo?
Maybe you want something like this:
Lines 32 to 44 in 5bb2403
If you realize, I'm using an array of different kind of styles (line 35
) which includes a file ./base.css
.
from printd.
The problem is that the css file i'm trying to load is being rejected. I got this message at the console:
Refused to apply style from '........../reports/print.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
I'm using Angular in my project. Haven't fixed the problem yet. Any ideas?
from printd.
It's would be great if you can share an example to reproduce this.
from printd.
I will close this issue due to inactivity. Feel free to open it again if it's needed.
from printd.
Related Issues (19)
- Print chartjs HOT 1
- Error on several pages HOT 1
- Printd event `beforeprint` and `afterprint` not work HOT 2
- Cannot create Printd instance passing options object. HOT 1
- Wrong behaviour when passing list of styles HOT 4
- Headers and Footer HOT 2
- Pass Authentication Headers via printURL. HOT 1
- Change title HOT 2
- Broken in IE11 HOT 5
- Insert page # in footer HOT 4
- Print selected value in select tag html HOT 2
- Background colors do not show up HOT 1
- Print a vue route with params HOT 4
- Not showing the browser's print window when printing an URL HOT 18
- Fix demo printing currently selected options HOT 1
- Printd event `afterprint` not work on Chrome HOT 3
- printURL does not work? HOT 4
- how to add tailwingcss? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from printd.