Topic: Responsive Font Size does not work in Angular Project

Lustig priority asked 3 years ago

Expected behavior creating Text that changes font-size according to screensize

Actual behavior when adding the import-code from documentation about RFS to scss it does not work. @import "core/bootstrap/rfs";

ERROR in ./src/styles.scss (./node_modules/css-loader/dist/cjs.js??ref--13-1!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/dist/cjs.js??ref--13-3!./src/styles.scss) Module build failed (from ./node_modules/sass-loader/dist/cjs.js): SassError: Can't find stylesheet to import. ? 1 β”‚ @import "core/bootstrap/rfs"; β”‚ ^^^^^^^^^^^^^^^^^^^^ ?

Resources (screenshots, code snippets etc.) It is described in the documentation, but i think there is some missing step that has to be done to get import working

Arkadiusz Idzikowski staff answered 3 years ago

There is a problem with import path. It should look like this:

@import '~ng-uikit-pro-standard/assets/scss/core/bootstrap/rfs';

Lustig priority commented 3 years ago

thank you very much, this works great for me! :-)

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: 9.3.1
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes