GithubHelp home page GithubHelp logo

linguokang / my-vue-cnode Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 3.18 MB

一个vuex vue-router axios element-ui的单页面应用demo,api来自cnodejs,https://linguokang.github.io/my-vue-cnode/

JavaScript 41.11% HTML 0.63% Vue 54.86% CSS 3.40%

my-vue-cnode's Introduction

#my-vue-cnode

####一个vuex vue-router axios element-ui的单页面应用demo,api来自cnodejs

###技术栈

  • Vue2.0:前端页面展示。
  • Vuex:Vuex,实现不同组件间的状态共享
  • vue-router:页面路由切换
  • axios:一个基于 Promise 的 HTTP 库,向后端发起请求。
  • timeago.js:一个时间处理的库,方便对时间进行格式化成需要的格式,如主题、回复时间显示"* 分钟前、* 小时前、*天前"等等。
  • ES6、ES7:采用ES6语法,这是以后的趋势。箭头函数、Promise等等语法很好用。
  • localStorage:保存用户信息。
  • Webpack:vue-cli自带Webpack,但是需要自己改造一下,比如要对需要安装sass相关loader,
  • flex:flex弹性布局,简单适配手机、PC端。

###项目运行

git clone https://github.com/linguokang/my-vue-cnode.git

cd my-vue-cnode

npm install

npm start

###打包发布

npm run build

###效果演示

点击查看demo

my-vue-cnode's People

Contributors

linguokang avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

stophobia

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.