I wanted to play a bit with UI Bakery until I realized that with the free plan I can’t export my work but only a random template.
Exported this templated and wanted to build it / serve it locally, but it failed as the CSS references the images with a trailing “~/”. I had to manually fix them, but the question is: how are the images exported in the full product?
ERROR in ./src/app/student/card1111/card1111.component.scss
Module Error (from ./node_modules/postcss-loader/src/index.js):
(Emitted value instead of an instance of Error) CssSyntaxError: /Users/heikokanzler/Documents/Softwareprojekte/AngularCourse/SampleProject/card1111.component.scss:81:4: Can't resolve '/assets/images/BG 3.png' in '/Users/heikokanzler/Documents/Softwareprojekte/AngularCourse/SampleProject/src/app/student/card1111'
79 | background-color: var(--background-basic-color-1);
80 | background-size: cover;
81 | background-image: url(’~/assets/images/BG 3.png’);
| ^
82 | }