GithubHelp home page GithubHelp logo

vue-web-demo's Introduction

vue-web-demo

vue 实现网页版前端框架搭建,只需在此基础上增加独立组件,便可很快速开发一个完善的后台管理系统。

主要功能

登录退出功能

国际化中英文界面切换

动态菜单列表

通过动态页签增减实现组件切换展示

路由切换菜单功能

效果展示

demo

技术栈

vue.js 构建用户界面的 MVVM 框架,核心**是:数据驱动、组件系统。

vue-cli 是vue的脚手架工具,目录结构、本地调试、代码部署、热加载、单元测试。

vue-router 是官方提供的路由器,使用vue.js构建单页面应用程序变得轻而易举。

vue-resource 请求数据,服务器通讯。

vuex 是一个专为 vue.js 应用程序开发的状态管理模式,简单来说Vuex就是管理数据的。

Element 一套为开发者、设计师和产品经理准备的基于 Vue 2.0 的桌面端组件库

Vue-progressbar 进度条组件。

vue-i18n 国际化资源管理组件。

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run all tests
npm test

项目组织架构

├─ .eslintrc.js
├─ index.html
├─ package.json // 配置文件
├─ README.md // 说明文件
├─ build // webpack打包执行文件
├─ config // webpack打包配置文件
├─ code-standards //编码规范
├─ src   │  ├─ main.js // webpack入口/项目启动入口
│  ├─ api // 存放api接口文件,服务层
│  ├─ common // 存放私有系统的公共样式、脚本、图片
│  │  ├─ css
│  │  │  └─ common.css // 公共样式
│  │  ├─ img // 公共图片
│  │  ├─ js
│  │  │  ├─ common.js // 公共脚本
│  │  │  └─ utils.js // 工具类
│  ├─ config
│  │  ├─ index.js // 共有配置文件
│  ├─ router
│  │  ├─ index.js // 存放路由
│  ├─ views // 视图
│  │  ├─ views.md
│  ├─ vuex // 这一块将存放于common项目
│  │  ├─ index.js
│  │  ├─ actions
│  │  ├─ getters
│  │  └─ modules

vue-web-demo's People

Contributors

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