Skip to content

xzsl/controlSys

 
 

Repository files navigation

controllsystem 单灯控制系统

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

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

axios 使用

注入到全局

// 更佳优雅的引入
Object.defineProperty(Vue.prototype, '$HTTP', { value: service })

// 一个例子
this.$HTTP.get('/mock/5aeeba99ee70f3596f06e54a/example/mock')
  .then(res => {
    let projects = res.data.data.projects
    console.log(projects)
  }).catch(() => {})

项目预览地址

http://http://39.104.66.11//

目录结构

    .
    ├── controllSys         // 跟项目目录
    ├── ├── src             // 开发根目录
    ├── ├── ├── assets      // 静态资源、图片等
    ├── ├── ├── components  // 常规组件
    ├── ├── ├── mock        // mock 数据
    ├── ├── ├── router      // 路由
    ├── ├── ├── store       // store
    ├── ├── ├── styles      // 公共的样式文件
    ├── ├── ├── utils       // 一些工具类
    ├── ├── ├── views       // 页面视图组件

About

单灯控制系统

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 78.3%
  • JavaScript 19.6%
  • CSS 2.0%
  • HTML 0.1%