How to use multiple CSS files in Meteor

How to use multiple CSS files in Meteor

Asked on November 23, 2018 in Meteor.
Add Comment


  • 2 Answer(s)

    The solution is,

        Here is no need to provide reference of stylesheets in meteor. Just put your css file in client/stylesheets folder. Meteor will automatically apply these css rules.

    Answered on November 23, 2018.
    Add Comment

    Alternative solution,

    You can find Meteor behaviour in this link:  https://guide.meteor.com/structure.html

    Inspite of  these rules are more relevant for .js code and .html template files: Meteor merge and minimize all .css in a single file as long as they are provided by you and not on a CDN so you will find a single <link rel=”stylesheet”> reference in your <head>.

    Remember to put all frontend files inside client folder, to avoid unnecessary server loading and availability.

    So you can choose your convenient folder structure for .css files, for example put them all in client/stylesheets or use other subfolders to better manage them.

    Answered on November 23, 2018.
    Add Comment


  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.