GithubHelp home page GithubHelp logo

ims's Introduction

信管工作室项目

我们这个项目是一个多页面的项目,访问不同的页面需要跳转链接。

开发:bootstrp + sass + jquery + requirejs + handlebars

目录结构

├── gulpfile.js     自动部署,监听启动
├── package.json    项目开发依赖
├── src             开发目录
│   ├── html
│   ├── sass
│   ├── js
          ├── lib      类库
          ├── util     工具
          ├── modules  页面模块
          ├── page     页面
│   └── img
├── dist            最终目录
└── api            mock data

准备

首先,你得有一个node环境。可以在官网上去下一个node,也可以通过nvm(node version management)去安装(好处是管理多个版本的node),当然还需要npm(node package management)去管理包依赖这些哈。

接着,全局安装一个 gulp npm install gulp -g

另外,需要 git,不多说

运行

进入 IMS 目录

  • npm install / cnpm install 安装依赖包
  • gulp watch 启动应用
  • 浏览器自动打开,访问localhost:3000
  • 输入localhost:3000/html/index.html查看页面

好了,你可以开始开发了

mock 数据

......

关于第三方的插件

如果有效果需要,也可以使用第三方的插件,但是你得先看懂,然后自己灵活实现。

关于打包和上线

附言

使用工具不是目的,主要是想怎么去实现组件化,怎么去构建;

ims's People

Contributors

huzhongyuan avatar umeimmense avatar

Watchers

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