Giter Club home page Giter Club logo

xyy-vue's Introduction

xyy-vue

一个集运动、锻炼、出游、交友、社交为一体的非常新颖的针对大学生的平台。旨在让现在的大学生抛开过去枯燥乏味、单一的生活方式,去认识更多的朋友、扩展自己的人脉圈,属个人项目。

技术栈

前台

  • vue
  • vue-router
  • vuex
  • axios
  • es6
  • localStorage
  • webpack

Api

后台

  • Node(Express)
  • restful api
  • leancloud

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 detailed explanation on how things work, checkout the guide and docs for vue-loader.

xyy-vue's People

Contributors

hzzly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xyy-vue's Issues

直接运行错误

代码done下来之后,npm install 后,运行后就报错了,前端小白,求大神指教
2018-02-28 5 40 09
2018-02-28 5 40 18

demo挂了

示例网站怎么挂了?想看一下效果

这个错误是什么情况

Failed to load resource: the server responded with a status of 404 (Not Found)
:8082/#/:15 Uncaught (in promise) Error: timeout of 5000ms exceeded
at createError (eval at (app.js:1207), :15:15)
at XMLHttpRequest.handleTimeout (eval at (app.js:1186), :95:14)

报错,一直是loading状态

为什么报这个错误:es6.promise.js?61c5:110 Unhandled promise rejection Error: Network Error
一直是loading状态

Port conflict in 8080 and program won't start, it is better to config other ports

Totally new for this axios, so I did npm install / and npm run dev as instructed,
when I run http://localhost:8080/, the firefox starts, but the browser gives me some error message from apache as below,
[Welcome, That's right! If you are seeing this it means that the web server installed at this site is working properly, but has not yet been configured. ]
Since generally we have lost of projects require Apache port 8080, so I change the src\config\index.js port to 8081. and It is OK now!

后端数据共享

抱歉各位,之前服务器被黑,弄了好久也没弄好,重新购买了一个阿里云服务器,后端数据我共享了一份,各位老铁可以用node本地开一个服务器请求json数据。

资源请求问题

系统:win7

作为一个学生,看到代码学习了很多,非常感谢,能否问问一些问题
default
这个该如何处理?看了一圈issues好多人都有这个问题,npm run dev无法正常加载
点开无法加载的地址,浏览器显示地址是http://localhost:8080/你的接口地址/api/travelList#/

在fetch文件夹的api.js中
// axios 配置
axios.defaults.timeout = 5000;
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
axios.defaults.baseURL = '你的接口地址';

在config的index.js文件中。
dev: {
env: require('./dev.env'),
port: 8080,
autoOpenBrowser: true,
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {},
// CSS Sourcemaps off by default because relative paths are "buggy"
// with this option, according to the CSS-Loader README
// (https://github.com/webpack/css-loader#sourcemaps)
// In our experience, they generally work as expected,
// just be aware of this issue when enabling this option.
cssSourceMap: false
}

请问该如何更改才能正确请求资源,对node.js不是很懂哈
default
index

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.