GithubHelp home page GithubHelp logo

jianghu50 / vue-sui-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eteplus/vue-sui-demo

0.0 2.0 0.0 2.76 MB

用vue 和 SUI-Mobile 写了一个移动端demo,用来反馈学习vue的成果(禁用了SUI自带的路由,使用vue-router, vue-resource, webpack)[a web app written by vue & sui-mobile]

Home Page: http://eteplus.github.io/vue-sui-demo

License: MIT License

JavaScript 62.01% HTML 0.74% Vue 37.26%

vue-sui-demo's Introduction

vue-sui-demo

线上访问地址 http://eteplus.github.io/vue-sui-demo

如果对您有帮助,您可以点右上角 "Star" 支持一下 谢谢! ^_^

对于那些发邮件给我的同学说声抱歉, 由于本人的邮箱忘记密码了,最近才找回, 如果遇到什么问题的,欢迎一起交流和学习!(2016-07-11)


Vue很轻量,易定制,比较适合移动端,很喜欢Vue写组件的方式, 所有用VUESUI-Mobile 写了一个移动端demo,用来反馈vue的学习成果(禁用了SUI自带的路由,使用Vue-router

环境
  1. node v5.12.0
  2. cnpm 4.2.0
  3. npm 3.3.9
技术栈

vue

vue-router

vue-resource

webpack

sui-mobile

es6-babel


截图


print


安装

项目地址:(使用git clone

git clone https://github.com/eteplus/vue-sui-demo.git

通过npm安装本地服务第三方依赖模块(需要已安装Node.js),使用npm安装依赖模块可能会很慢,建议换成cnpm

npm install -g cnpm --registry=http://registry.npm.taobao.org
# 安装依赖模块
cnpm install

# 启动服务
npm run dev

# 发布代码
npm run build

开发

目录结构

.
├── README.md           
├── dist                     // 项目build目录
├── config                   // 环境变量和入口,出口配置
├── static                   // 静态资源目录
├── build                    // 项目的配置文件目录
│   ├── dev-server.js        // 开发的服务配置
│   ├── webpack-dev-conf.js  // 开发的Webpack 配置文件
│   ├── webpack-prod-conf.js // 生产的Webpack 配置文件
│   ├── webpack-base-conf.js // 基本的Webpack 配置文件
├── package.json             // 项目配置文件
├── src                      // 生产目录
│   ├── assets               // css js 和图片资源
│   ├── data                 // 数据文件
│   ├── components           // 各种组件
│   ├── views                // 各种页面
│   ├── directives           // 各种指令
│   ├── filters.js           // 各种过滤器
│   ├── router.js            // 路由配置
│   └── main.vue             // 根组件
│   └── app.js               // Webpack 预编译入口         
├── index.html               // 项目入口文件
.

更新记录

参看 CHANGELOG.md

vue-sui-demo's People

Contributors

349989153 avatar

Watchers

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