GithubHelp home page GithubHelp logo

nvdnkpr / jeet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mojotech/jeet

0.0 2.0 0.0 1.57 MB

A light, semantic, responsive, CSS framework built from the best parts.

Home Page: http://jeetframework.com

jeet's Introduction

alt text

Documentation | Demos / Screencasts | NPM Package: Github, NPM

Installation:

  • Install NodeJS
  • npm install -g jeet
  • jeet -h
Usage: jeet [options] [command]

Commands:
    watch                   watch the current path and recompile CSS on changes
    create <name>           create a new jeet project with the given name

    Options:
        -h, --help          output usage information
        -V/-v, --version    output the version number

LiveReload Installation

Note: This only works with the Jeet NPM Package or the Roots installation. LiveReload support of various Stylus libraries is touchy at best and requires special tools.

  • If you're using Sublime Text, disable the Sublime Text LiveReload plugin
  • Install a LiveReload browser extension
  • Once jeet watch is working it will notify you that LiveReload is active, open your browser and activate your LiveReload browser extension (usually just by clicking on it).

CLI Usage

  • jeet create foo or jeet create . to dump Jeet into current dir
  • cd foo
  • jeet watch

jeet create will fetch the latest copy of Jeet from the repo. If it already has the latest copy or you don't have internet access, it will not fetch it and simply use the most recent copy of Jeet the package is equipped with. This makes project creation very fast and makes sure you have the latest/greatest version of Jeet created each time.

Jeet will watch your project for changes to .styl files within /css. It will concatenate and minify that CSS to css/custom.css. Jeet will also watch your /js automatically concatenate and minify most of your JavaScript (the ones that aren't already included as oldIE polyfills) including your plugins.js, main.js, and any new .js files in your /js dir.

Lightweight Watcher Installation and Usage

  • Install NodeJS
  • npm install -g stylus axis-css
  • git clone https://github.com/CorySimmons/jeet.git foo
  • cd foo
  • ./watch or the longhand version: stylus -u axis-css -w -c css/custom.styl
  • Keep in mind your JavaScript won't be automatically minified. Use the NPM package for that.

Usage with Roots

Roots is a static site compiler that cooperates nicely with Jeet. It makes creating and watching your project a smoother and less manual process, and adds loads of features you can take advantage of like precompiled templates, a variety of supported languages (Jade, Coffeescript, etc.), dynamic content for building things like blogs, and LiveReload in development. To install Roots and the Roots Jeet template follow the steps below:

  • npm install roots -g
  • roots template add jeet https://github.com/jenius/jeet-template

Now to create a new Roots project with the Jeet template and grid, follow these steps:

  • roots new your_project_name --jeet
  • cd your_project_name
  • roots watch

Jeet 2

Jeet 2 is still available under the jeet2 branch

Jeet 2 NPM package is under the jeet2 branch of the NPM repo

SCSS/SASS/LESS

We're dropping official support for other preprocessors but I expect someone (@ozamorowski) will fork and port Jeet 3 to SCSS/SASS sooner than later. Anyone is welcome to step up and port their own, we'll link to it here.

jeet's People

Contributors

corysimmons avatar marcorivm avatar ozamorowski 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.