Coder Social home page Coder Social logo

base-vue-project's Introduction

nodecloud

node cloud

Build Setup

npm install     安装依赖
npm run dev     开发
npm run test    打测试包
npm run build   打生产包

目录结构

  • src
    • api 请求接口,按模块划分
    • assets 静态文件,比如img,字体图标,公用css等
    • components 公用组件
    • config 配置文件(如:baseUrl的区分,接口地址汇总)
    • router 路由配置
    • store vuex状态管理
    • utils 一些工具(如,http请求再次封装,loading的显示隐藏)
    • view 项目的页面组件,按模块划分
    • App.vue 项目根组件
    • main.js 项目入口
  • static 静态文件,不会被打包

介绍

  • 支持less
    <style lang="less" scoped></style>
  • vue-router

    文档地址:vue-router

  • vue-vuex

    文档地址:vue-vuex

  • axios 接口请求,使用第三方axios异步请求库

    文档地址: axios

base-vue-project's People

Contributors

tetegw avatar

Watchers

 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.