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
how can i solve?
I think it gives such an error because of the line in style.bundle.css. Can you help me to solve it urgently?
Hi,
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.
Regards.
This is the whole error: https://imgur.com/kicv0Cv
Template: Metronic | Bootstrap HTML, VueJS, React, Angular, Asp.Net, Django & Laravel Admin Dashboard Theme
as version: 8.1.2 appears for the downloaded file
Which framework are you using? The HTML or Laravel, Django, Asp.Net Core, Flask ?
sorry i missed it, i am using html and ruby on rails
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.
I am using your gulp builder from the tools folder
.
Hi BüÅra
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.
Thanks
https://imgur.com/FHGoO36
Style.bundle.css file does not appear when I say gulp in console
should i add from the downloaded files myself?
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 BüÅra
You said you use gulp builder from the tools folder. Could you please try to rebuild the assets, then drag and replace them into your rails assets?
We will support rails soon. We are currently already working on it.
You can use jquery in the template.
Thanks
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
https://imgur.com/ErU9wCD
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
Hi BüÅra
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
--#{$prefix}navbar-toggler-icon-bg: #{escape-svg($navbar-light-toggler-icon-bg)};
@import "../../../tools/node_modules/bootstrap/scss/navbar";
unfortunately, the same error persists when I remove this line
Hi BüÅra
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.
Thanks
Hi, When I say gulp, only these files come, style.bundle.css is not created.
https://imgur.com/FHGoO36
Thanks, it worked
Glad it worked for now. We will check further on this issue.
Thanks
When will support for Ruby on Rails be released? Can I get information about this subject?
The current estimated target release date is around the next 2 weeks. But it depends on the ongoing progress.
Thanks
Hello, is there any progress on ruby ââon rails support?
Hi BüÅra,
We are about to release v8.1.5, today or tomorrow. The Rails application is included.
Thanks
thanks