Code Monkey home page Code Monkey logo

bigscreensmart's Introduction

project

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 e2e tests
npm run e2e

# run all tests
npm test
#```

#For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

#文件结构
/config/ :配置文件
    config/dev.env.js   开发环境服务端请求路径配置
    config/prod.env.js  生成环境服务端请求路径配置
    config/index.js     配置运行端口号

/dist/ :npm run build之后生成的文件,给后端使用

/src/assets :静态文件img
/src/components :vue组件文件
/src/css :css文件
/src/pages :.vue页面文件
/src/publicService :js文件
    src/publicService/urls.js          请求的后台地址
    src/publicService/HttpService.js   axios请求封装
/src/router :路由配置
/src/store :全局变量存储和操作
    /src/store/index.js :全局变量初始化
    /src.store/mutations-types.js :全局变量操作声明
    /src/store/mutations.js :全局变量操作实现
    /src/store/actions.js :方法声明,在vue页面中调用

+提示窗口使用:
this.tips.open('error/success','message');

bigscreensmart's People

Contributors

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