Skip to content

基于vue-axios和利用pubsub-js实现组件通信的前后端交互案例

Notifications You must be signed in to change notification settings

pubdreamcc/Vue-axios-pubsub-js

Repository files navigation

前言

本案例是调用GitHub官方提供的API,基于axios,pubsub-js实现的一个demo,目的让自己更加熟悉vue组件化开发思想,和前后端分离开发中调用后端接口获取数据渲染页面。

本文最初发表在博客园,喜欢看博客的同学也可以前往---找到我

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.

About

基于vue-axios和利用pubsub-js实现组件通信的前后端交互案例

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published