Coder Social home page Coder Social logo

vue.news's Introduction

Vue News

Vue Vue vue-router vuex vue-awesome-swiper
Sauce Test Status

地址:https://daoket.github.io/news/index.html#/select

vue-news

在手机上效果更好,扫一扫体验

简介

  • 本项目使用最新版vue2进行构建,项目中使用vue-router控制路由,vuex进行状态管理,另外还是引入了几个常用的vue插件,比如使用vue-axios处理http请求,使用vue-awesome-weiper处理首页轮播,使用vue-lazyload进行懒加载,项目中使用到了vue的大部分知识点。

实现的功能

  1. 首页轮播图
  2. 新闻懒加载、点击加载更多
  3. 请求新闻时加载动画
  4. 菜单栏的显示和隐藏
  5. 新闻搜索
  6. vuex管理数据

未实现的功能

  • 路由记录管理
  • 服务端渲染
  • 分块加载
  • 测试

安装步骤

# 下载或克隆下来,然后安装依赖
npm install

# 开发预览
npm run dev

# 打包发布,生成的文件在dist文件夹中
npm run build

项目截图

首页

菜单

License

MIT

Copyright (c) 2017-present, daoket

vue.news's People

Contributors

daoket avatar wtniu avatar

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.