Closed OZZlE closed 1 year ago
package.json relevant parts:
{
"scripts": {
"run:fractal": "node ./server.js",
"run:webpack": "webpack-dev-server --env=development --config webpack.config.styleguide.js",
"start": "npm-run-all --parallel run:fractal run:webpack", // <!---------- runs styleguide
},
"devDependencies": {
"npm-run-all": "^4.1.5",
}
}
@OZZlE Which adapter are you using?
@OZZlE Which adapter are you using?
@LeBenLeBen I don't know, how do I find out?
Dunno if this helps but maybe:
Before update:
"@frctl/fractal": "^1.1.7",
"@frctl/nunjucks": "^1.0.3",
After update
"@frctl/fractal": "^1.5.14",
"@frctl/nunjucks": "^2.0.15",
I just changed back to "@frctl/nunjucks": "^1.0.3", and it seems everything works :)
@OZZlE Yes, your adapter is Nunjucks. As you can see, you did a major update from 1 to 2. This update has breaking changes and you need to adapt some parts so the HTML is not escaped. This is documented on the Nunjucks adapter README.
Steps to reproduce the issue
Reproduces how often:
100%
Reduced test case
All components html only/Vanilla js/jQuery/React all becomes just html string when opened:
No errors in CMD/command line or in browser console so quite hard to debug, don't know where the parsing and output parts happens.
https://gist.github.com/OZZlE/fractal.jss
Context
Is this module still maintained?