Giter Site home page Giter Site logo

gowlin / meteor-bootstrap3-sass Goto Github PK

View Code? Open in Web Editor NEW

This project forked from englue/meteor-bootstrap3-sass

0.0 1.0 0.0 598 KB

Meteor package for Bootstrap 3 with Sass support

License: GNU Lesser General Public License v3.0

CSS 44.45% Shell 1.63% JavaScript 53.91%

meteor-bootstrap3-sass's Introduction

meteor-bootstrap3-sass

Build Status

Meteor package for Bootstrap 3 with Sass support

IMPORTANT UPDATE: As of version 3.3.4_2, the fourseven:scss package is no longer automatically installed with this package. This allows projects to choose which SCSS compiler package they would like to use.

To install

Select and install an SCSS compiler package. These include fourseven:scss, stevezhu:sass, etc. Then, install the reywood:bootstrap3-sass package.

$ meteor add fourseven:scss
$ meteor add reywood:bootstrap3-sass

To use

To activate bootstrap styles on your site, add the following line to the top of your main scss file:

@import '.meteor/local/build/programs/server/assets/packages/reywood_bootstrap3-sass/bootstrap';

Due to a current limitation of the Meteor packaging system, the above path may not exist the first time you run your Meteor app after installing this package. This will cause an error saying the file to import was not found. This may also occur if you run meteor reset. Restarting your app should fix this problem. See meteor/meteor#2606 and meteor/meteor#2796 for more info.

Be sure to add the appropriate tags (as recommended by Bootstrap) to your document <head> somewhere in your HTML. Where you add these tags is dependent on how your meteor project is structured.

<head>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
	<!--[if lt IE 9]>
		<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
		<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
	<![endif]-->
</head>

If you find a bug or would like to see an improvement made, please file an issue on GitHub.

meteor-bootstrap3-sass's People

Contributors

reywood avatar hom-bengelhardt avatar gowlin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.