style file paths
I just embedded the new FormBuilder into my app but I encountered a problem: style files are referenced to as external paths:
styles: ["@import url(/node_modules/formiojs/dist/formio.full.min.css); "]
which causes the compiler to look for the file at path: http://localhost:4200/node_modules/formiojs/dist/formio.full.min.css (which is obviously not a public resource), and it gives the following error in the browser:
Refused to apply style from 'http://localhost:4200/node_modules/formiojs/dist/formio.full.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
(because what it receives is html error page).
Now stylesheets work only when they're included in public project assets (which is not only the case of the FormBuilder as far as I see).
same issue.
@travist @Vercjames @YuryRybakSoftensity @randallknutson @asalhani
This should be fixed with the RC1 release.
Thanks.