Git Product home page Git Product logo

vue-antd's Introduction

vue-base

命令

项目启动

  1. node安装10.0.0+

  2. yarn安装

  3. 更换yarn源(可选操作项,如可翻墙,无需此步骤)

yarn config set registry 'https://registry.npm.taobao.org'
  1. 安装依赖,项目目录下执行
yarn
  1. 启动项目
npm start

5.浏览器访问: http://localhost:8080

辅助工具安装

  1. chrome安装插件 vue,vue performance

编译开发环境代码,开启热替换服务器

npm start

编译正式环境代码

npm run build

运行接口mock

npm run mock

运行代码自动修复

npm run lint

运行单元测试

npm run test
src
├─assets  // 资源文件
│  ├─font
│  ├─images
│  ├─js
│  └─style
├─components // 共用组件
│  ├─business
│  └─common
├─http // 请求相关
├─mock // mock后端数据
├─pages
│  ├─about
│  │  └─components
│  └─home
├─store // 状态管理
│  └─modules
└─utils // 工具类

vue-antd's People

Watchers

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