Code Monkey home page Code Monkey logo

artpage's Introduction

ArtPage

ArtPage是基于Grunt的扩展库,由前端思考( http://www.artcss.com )发起。
提供一系列方法,帮助我们快速构建前端自动化工具。

使用方法

安装

npm install -g ArtPage

初始化目录:

ArtPage -init ./myfolder

下载Plugin:

cd ./myfolder
npm install
bower install

就会下载对应的插件到

./myfolder/app/
./myfolder/bower_components/
./myfolder/bower_components/

举个栗子:

我的项目目录:/mysite
我的前端资源文件:/mysite/assets
我想把veryless放到 /mysite/assets/lib/ 里面
sudo npm install -g veryless
cd /mysite/assets/
# 初始化 目录
ArtPage -init lib
# 下载Plugin css3
cd lib

Demo

scss:

$blue: #3bbfce;
$margin: 16px;
$font-md:12px;

.content_navigation {
  border-color: $blue;
  color: darken($blue, 10%);
}

.border {
  padding: $margin / 2;
  margin: $margin / 2;
  border-color: $blue;
  font-size:$font-md;
}

javascript:

var aa = document.getElementById("aa");
aa.innerHTML = "hello ";

artpage's People

Contributors

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