hi, I added the template files in my rails project and when I try to precompile I get this error: rake aborted! SassC::SyntaxError: Error: Custom property values may not be empty. on line 62279:70906 of stdin >> size:1.075rem;--bs-navbar-toggler-icon-bg:url("data:image/svg+xml,%3csv
May I know which template and version are you using? Could you please provide us a screenshot of the full error via https://imgur.com/ ? We will check it further once we have further details.
We are checking this. By the way, are you using Metronic's built-in gulp builder or rails' own builder? Please note that our theme requires to use of its own builder.
Are you using the style.bundle.css in minified version or normal? Could you please try to rebuild the Metronic assets using gulp, then try to use the new style.bundle.css. Just to check if there is an issue with normal and minified version CSS files.
Obviously, after downloading the metronic file, I dragged the files directly into the project. Because in the project I needed to place it according to my own directory. I didn't know how to add files in ruby on rails project. Do you have a chance to support the rails project?
Also, we are using jquery in the project, can we continue to use jquery with this template?
Hi Faizal, I did as you said. I added the assets compiled with gulp to my own project unfortunately the error persists when I include the style.bundle.css file
I will continue without using style.bundle.css now It seems necessary in some features, but for now there is no problem in editing the login page, if I do not use this file. I will switch to sidebar and navbar design for my project, it may be necessary there. If I can get it done without being fired, it's good I requested from my company to buy metronic template, they bought and they are waiting for results from me
style.bundle.css is required for most of the pages.
The attribute comes from bootstrap scss. We have no control over this file. You can view it here; tools/node_modules/bootstrap/scss/_navbar.scss line 23
After you have changed the file src/sass/components/components.scss with the above changes, you have to rebuild the CSS file styles.bundle.css file using gulp.
Then please retry to import the updated styles.bundle.css file.