Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
FOZ Character Plush Toy |
anil1961
Updated:
56 minutes ago
Ad icon
Colombo
🎓✨ A Better Plan Can Make a Big Difference!
Tmadhusanka
Updated:
Yesterday at 5:03 PM
Microsoft Project 2021 & All Versions Available!
hrdilshan
Updated:
Yesterday at 2:43 PM
Microsoft Visio 2021 & All Versions Available!
hrdilshan
Updated:
Yesterday at 2:42 PM
Christmas Elf Doll
anil1961
Updated:
Nov 22, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Software Development
SASS install කරමු - Linux
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="dhanush_c" data-source="post: 19594007" data-attributes="member: 530786"><p><span style="font-size: 15px">SASS කියන්නේ CSS preprossesor එකක්. ඒ වගේම CSS වලට වඩා ලේසියෙන් CSS styling code කරන්න පුළුවන් SASS වලින්. CSS වලින් කරන වැඩ ප්රමාණය අඩු කරලා ඒ දේවල් ටික පහසුවෙන් කරන්න පුළුවන් වෙන්න තමයි SASS හඳුන්වලා දුන්නේ. දැන් බලමු කොහොමද Install කරගන්නේ කියලා.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">මේකට මුලින්ම ruby install කරගන්න ඕන. SASS ruby gem එකක් විදියට තමයි තියෙන්නේ. Ruby install කරගන්න <a href="http://wp.me/p4toIR-c5" target="_blank">මේ පොස්ට් එක</a> බලන්න.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">දැන් තියෙන්නේ SASS gem එක install කරගන්න.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">[code]</span></p><p><span style="font-size: 15px">sudo gem install sass</span></p><p><span style="font-size: 15px">[/code]</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">දැන් මේ command එක දීලා test කරලා බලන්න.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">[code]</span></p><p><span style="font-size: 15px">sass -v </span></p><p><span style="font-size: 15px">[/code]</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"><img src="https://dhanushkablog.files.wordpress.com/2016/01/sample1.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">installation part එක ඉවරයි. දැන් බලමු sass compile කරන්නේ කොහොමද කියලා.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">මුලින්ම file එක create කරගන්න ඕන.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">[code]</span></p><p><span style="font-size: 15px">nano style.scss</span></p><p><span style="font-size: 15px">[/code]</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">ඊටපස්සේ sass code එක ලියන්න ඕන. syntax ගොඩක් දුරට css වලට සමානයි. structure එක විතරයි වෙනස්.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">[code]</span></p><p><span style="font-size: 15px">div{</span></p><p><span style="font-size: 15px"> width: 90%;</span></p><p><span style="font-size: 15px"> margin: 0 auto;</span></p><p><span style="font-size: 15px"> </span></p><p><span style="font-size: 15px"> p{</span></p><p><span style="font-size: 15px"> background-color:red;</span></p><p><span style="font-size: 15px"> border-radius: 5pc;</span></p><p><span style="font-size: 15px"> }</span></p><p><span style="font-size: 15px">}</span></p><p><span style="font-size: 15px">[/code]</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">දැන් file එක save කරගන්න ctrl+x සහ y දීලා enter කරන්න.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">දැන් file එක sass වලින් compile කරගන්න ඕන.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">[code]sass --watch style.scss:style.css[/code]</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"><img src="https://dhanushkablog.files.wordpress.com/2016/01/sass1.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">මේ විදියට compile කරගත්ත sass file එකේ changes වලට sass compiler එක listen කරනවා. sass file එකේ change එකක් උනොත් re-compile කරලා අලුත් css file එක generate කරනවා.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"><img src="https://dhanushkablog.files.wordpress.com/2016/01/sass2.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">සාමාන්යයෙන් අපි sass stylesheet එකක් develop කරද්දී කොටස් වලට වෙන් කරලා තමයි code කරන්නේ. එහෙම වෙලාවට ඒ සේරම sass file ටික compile කරලා වෙන වෙනම css files හදාගන්න හදාගන්න පුළුවන් මේ command එකෙන්.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">[code]</span></p><p><span style="font-size: 15px">sass --watch stylesheets/sass:stylesheets/css</span></p><p><span style="font-size: 15px">[/code]</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">sass watch mode එකෙන් අයින් වෙන්න ctrl+c press කරන්න.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">SASS වලින් කරන්න පුළුවන් වැඩ වෙන පොස්ට් එකකින් විස්තර කරන්නම්.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/happy.gif" class="smilie" loading="lazy" alt=":)" title="Happy :)" data-shortname=":)" /><img src="/styles/default/xenforo/smilies/default/happy.gif" class="smilie" loading="lazy" alt=":)" title="Happy :)" data-shortname=":)" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /><img src="/styles/default/xenforo/smilies/default/lol.gif" class="smilie" loading="lazy" alt=":lol:" title="LOL :lol:" data-shortname=":lol:" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"><a href="https://dhanushkablog.wordpress.com/2016/01/20/how-to-install-and-compile-sass-on-linux/?preview_id=754&preview_nonce=53d6615d4c&post_format=standard&preview=true" target="_blank"><span style="color: Red"><span style="font-family: 'Courier New'">බ්ලොග් එක පැත්තේ එන්න..</span></span></a></span></p></blockquote><p></p>
[QUOTE="dhanush_c, post: 19594007, member: 530786"] [SIZE="4"]SASS කියන්නේ CSS preprossesor එකක්. ඒ වගේම CSS වලට වඩා ලේසියෙන් CSS styling code කරන්න පුළුවන් SASS වලින්. CSS වලින් කරන වැඩ ප්රමාණය අඩු කරලා ඒ දේවල් ටික පහසුවෙන් කරන්න පුළුවන් වෙන්න තමයි SASS හඳුන්වලා දුන්නේ. දැන් බලමු කොහොමද Install කරගන්නේ කියලා. මේකට මුලින්ම ruby install කරගන්න ඕන. SASS ruby gem එකක් විදියට තමයි තියෙන්නේ. Ruby install කරගන්න [URL="http://wp.me/p4toIR-c5"]මේ පොස්ට් එක[/URL] බලන්න. දැන් තියෙන්නේ SASS gem එක install කරගන්න. [code] sudo gem install sass [/code] දැන් මේ command එක දීලා test කරලා බලන්න. [code] sass -v [/code] [IMG]https://dhanushkablog.files.wordpress.com/2016/01/sample1.png[/IMG] installation part එක ඉවරයි. දැන් බලමු sass compile කරන්නේ කොහොමද කියලා. මුලින්ම file එක create කරගන්න ඕන. [code] nano style.scss [/code] ඊටපස්සේ sass code එක ලියන්න ඕන. syntax ගොඩක් දුරට css වලට සමානයි. structure එක විතරයි වෙනස්. [code] div{ width: 90%; margin: 0 auto; p{ background-color:red; border-radius: 5pc; } } [/code] දැන් file එක save කරගන්න ctrl+x සහ y දීලා enter කරන්න. දැන් file එක sass වලින් compile කරගන්න ඕන. [code]sass --watch style.scss:style.css[/code] [IMG]https://dhanushkablog.files.wordpress.com/2016/01/sass1.png[/IMG] මේ විදියට compile කරගත්ත sass file එකේ changes වලට sass compiler එක listen කරනවා. sass file එකේ change එකක් උනොත් re-compile කරලා අලුත් css file එක generate කරනවා. [IMG]https://dhanushkablog.files.wordpress.com/2016/01/sass2.png[/IMG] සාමාන්යයෙන් අපි sass stylesheet එකක් develop කරද්දී කොටස් වලට වෙන් කරලා තමයි code කරන්නේ. එහෙම වෙලාවට ඒ සේරම sass file ටික compile කරලා වෙන වෙනම css files හදාගන්න හදාගන්න පුළුවන් මේ command එකෙන්. [code] sass --watch stylesheets/sass:stylesheets/css [/code] sass watch mode එකෙන් අයින් වෙන්න ctrl+c press කරන්න. SASS වලින් කරන්න පුළුවන් වැඩ වෙන පොස්ට් එකකින් විස්තර කරන්නම්. :lol::lol::lol::lol::lol::lol::):):lol::lol::lol: [URL="https://dhanushkablog.wordpress.com/2016/01/20/how-to-install-and-compile-sass-on-linux/?preview_id=754&preview_nonce=53d6615d4c&post_format=standard&preview=true"][COLOR="Red"][FONT="Courier New"]බ්ලොග් එක පැත්තේ එන්න..[/FONT][/COLOR][/URL][/SIZE] [/QUOTE]
Insert quotes…
Verification
Dahaya deken beduwama keeyada?
Post reply
Top
Bottom