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
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?
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.
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.
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.
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?
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.
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.
Hi, When I say gulp, only these files come, style.bundle.css is not created.
Thanks, it worked
Glad it worked for now. We will check further on this issue.
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.
We are about to release v8.1.5, today or tomorrow. The Rails application is included.