Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Build Applications with Meteor

You're reading from   Build Applications with Meteor Isomorphic JavaScript web development

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781787129887
Length 388 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Dobrin Ganev Dobrin Ganev
Author Profile Icon Dobrin Ganev
Dobrin Ganev
Arrow right icon
View More author details
Toc

Modular CSS with Syntactically Awesome StyleSheets


Syntactically Awesome StyleSheets (Sass) is another popular preprocessor. It's very similar to LESS and offers all the features that you can find in LESS. Which one should you use? It's worth knowing both the frameworks. If you have to go with which has more stars on GitHub, then LESS, but that can change over time. The latest version of Bootstrap, Bootstrap 4, is written with Sass; the previous versions were with LESS and if you dig into the popularity numbers, it looks like Sass surpasses LESS. Also, Material Design Lite uses Sass too.

Let's write our grid with Sass this time.

In the terminal, run the following command:

>> meteor create sass_app;

Alternatively, you can modify your previous app if you don't want to create another app.

They are two required packages for Meteor in order to compile the scss files into css:

>> meteor add fourseven:scss
>> npm install node-sass

The file extension of Sass is .scss. In the previous...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime