Coder Social home page Coder Social logo

dss's Introduction

DSS

dss全称:Drag Special System(拖拽型专题系统)

预览地址:DEMO

环境安装

1、安装NodeJS

此文档编写时,node版本为v8.9.1

#查看node版本号
node -v
#查看npm包管理版本号
npm -v

2、设置镜像

对于大陆用户,建议将npm的注册表源设置为国内的镜像,可以大幅提升安装速度。

切换镜像后可以使用cnpm命令,下载、安装插件会比npm

3、安装gulp

#全局安装gulp
cnpm i gulp@3 -g  

4、安装依赖插件

#这个命令会安装package.json中的插件列表
cnpm i

开始开发

修改样式与脚本都需要先执行以下命令

#开发环境
gulp dev

#生产环境
gulp build

gulp dev

启动watch任务,实时监听src/js/*.js文件变化,生成.map后缀文件便于debug

gulp build

不监听文件变化,生成压缩后的cssjs,无map文件。

TODO

  • 点击左侧模块后,添加模块时页面跳转至添加模块处

dss's People

Contributors

007sair avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ouyangmiao

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.