Git Product home page Git Product logo

boxbox's Introduction

项目文件 说明 用gulp 做项目管理(有待于改进)

安装

    npm install

编译生产文件

    npm run build

目录结构

dist 是生产目录 编译生成的
  • 编译的css文件放在css目录中 包含未压缩和压缩的版本
  • 编译的js文件放在js目录中 包含压缩和未压缩的版本
  • img目录放置图片
  • html文件是页面入口
pc/develop 是开发目录 放置开发的代码
  • common 目录下放置插件通用的 css 和 js 文件
  • cutomView 放置本地开发的js和css代码
  • src 放置img 和 字体文件夹
  • plugin 放置插件
  • template 放置html模版

dist/ 放置pc的生产文件夹

开发步骤:

  • 命令npm run pcPlugin 将所有的插件打包加入版本号
  • 命令npm run pcDev 打开本地开发并监视customView下的所有文件有改动启动热加载
  • 命令npm run pcPro 将需要的文件放置到生产文件夹,打包js和css,根据模版生成需要的html
tutirial 说明和教程
gulpfile.js gulp 配置文件
pacackge.json npm 配置

boxbox's People

Contributors

pipu11qiao avatar

Watchers

James Cloos 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.