Closed billyjov closed 3 years ago
@billyjov No, I haven't tried that yet.
@rajasegar could you find out whats going wrong.
I tried inside my ember-cli-build.js
following:
app.import('node_modules/single-spa-css/lib/umd/single-spa-css.min.js', {
using: [
{
transformation: 'amd',
as: 'single-spa-css',
},
],
});
But i get another error:
The CSP policy is not allowing in-secure (http) endpoints to load stylesheets. It is present in the root-cong/src/index.ejs
file
https://github.com/billyjov/poc-explorviz/blob/3b94ef077b97ffbcf5d7b6361b3ac9f32949ed1d/src/index.ejs#L20
if you comment that line you won't get that error, but for production environments we need that one I guess.
One more thing I found out is in your navbar app, you are using SASS but you are not using any plugin for it, so the app css is not generated. I renamed the file app.scss => app.css , now it was generating properly https://github.com/billyjov/poc-explorviz/blob/master/apps/navbar/app/styles/app.scss
Thanks for the advices.
I got this error trying to load one app specific css using single-spa-css (https://github.com/single-spa/single-spa-css)
Here are my configs: