GithubHelp home page GithubHelp logo

kharissulistiyo / easy-bootstrap-sass Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sodevious/easy-bootstrap-sass

0.0 2.0 0.0 544 KB

This project shows you how to work with bootstrap + compass + precompiler

easy-bootstrap-sass's Introduction

easy-bootstrap-sass

Inspired by a friend that wanted to start using sass and compass, I made this little project to help him get going! I tried to make the commits informative, so definirely look through those. This project is strictly to assist with file path issues and organizing a project to work with a precompiler. The "easy" part is because running a rails server or compass watch is not necessary. My precompiler of choice is LiveReload.

** Heavily inspired by: https://github.com/thomas-mcdonald/bootstrap-sass **


  • I took the templates/project files
  • I took the vendor/assets files

I edited the manifest.rb to match the file structure I organized. I put the template/project files inside the vendor/assets/stylesheets.

I also changed the import file to remove the _variables.scss.erb file. It was causing problems and wouldn't let me compile. I figure this is okay, because if you've used bootstrap before, it's easy to figure out how to override things.

I also had to go into bootstrap/bootstrap.scss to fix the paths as well.

Make sure in your complier, that everything compiles to the right path.

Compass

$ gem update --system $ gem install compass

So what I did was compass create project and then moved over the config.rb that it created. Edit the paths as necessary. I also changed my stylesheet directory structure. I created the sass folder, and moved all of my sass there, and then moved my styles.scss to the stylesheet folder.

easy-bootstrap-sass's People

Contributors

sodevious avatar

Watchers

 avatar  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.