Skip to content

vue vue-router example 基于vue,vue-rounter的简单事例

Notifications You must be signed in to change notification settings

yangmei123/vue-vue-router

Repository files navigation

Image text

vue-vue-router

vue-vue-router project

使用vue-cli脚手架工具构建vue项目

请求使用node server

对应的node服务端地址 https://github.com/yangmei123/node-server-express/tree/master

  • vue.js (2.0)
  • vue-router
  • vue-resource
  • webpack
  • eslint
  • es6
  • babel
  • swiper

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
  • 请求接口的对应地址和端口配置
this.$http.post('http://localhost:8000/add', data, {emulateJSON: true})

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

About

vue vue-router example 基于vue,vue-rounter的简单事例

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published