You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1
down vote
favorite
1
I Used laravel 5.7 , NPM To Install Bootstrap 4 And This Is Easy , Now I Want Make a Site In Multi Language rtl And ltr So I Change On File node_modules/bootstrap/scss/_reboot.scss
I made 3 variables: $direction: rtl; $left:left; And $right:right;
@if($direction === rtl){ @include border-left-radius($border-radius);
}@else{ @include border-right-radius($border-radius);
}
My Method Effective works successfully 100% I Just Fine Best way To Do This Work .
Question Is the modification to the source files correct or wrong? If a mistake is t
he correct suggestion and save the adjustments to be used with the prefixes file example
node_modules / bootstrap / scss / _variables.scss We can modify it by requesting it in a new file resources / sass / _variables.scss
1
down vote
favorite
1
I Used laravel 5.7 , NPM To Install Bootstrap 4 And This Is Easy , Now I Want Make a Site In Multi Language rtl And ltr So I Change On File node_modules/bootstrap/scss/_reboot.scss
I made 3 variables: $direction: rtl; $left:left; And $right:right;
@if($direction == rtl)
{
$left : right;
$right : left;
}
If I Want To Change LTR To RTL I Use This If
@if($direction === rtl){
@include border-left-radius($border-radius);
}@else{
@include border-right-radius($border-radius);
}
My Method Effective works successfully 100% I Just Fine Best way To Do This Work .
Question Is the modification to the source files correct or wrong? If a mistake is t
he correct suggestion and save the adjustments to be used with the prefixes file example
node_modules / bootstrap / scss / _variables.scss We can modify it by requesting it in a new file resources / sass / _variables.scss
But the difference in the other files (node_modules / bootstrap / scss) are not variables
https://stackoverflow.com/questions/53123544/how-to-customize-bootstrap-4-sass-with-npm-in-laravel
The text was updated successfully, but these errors were encountered: