Coder Social home page Coder Social logo

yang0104 / h-blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hehaibao/h-blog

0.0 1.0 0.0 3.23 MB

vue+elementUI模仿我的博客,简单的写的几个练习页面

Home Page: https://hehaibao.github.io/h-blog/dist/index.html

JavaScript 51.58% HTML 0.53% Vue 47.43% CSS 0.46%

h-blog's Introduction

h-blog

A Vue.js project 用elementUI模仿我的博客,简单的写的几个练习页面,仅供参考。

技术栈

vue-cli(vue 2.x + webpack + vue-router) + elementUI + ES6 + mock + axios

本地代码已全部通过ESlint检测。

在线预览

https://hehaibao.github.io/h-blog/dist/index.html

主要功能

  • 首页(含mock) image

  • 文章详情页 image

  • 登录页(含验证和是否登录的逻辑) image

  • 注册页(含验证) image

里面涉及到了路由的导航守卫,组件的复用,sessionStorage存储是否登录状态,父子组件通信,elementUI的一些用法 等等

更多功能,后续有时间会继续添加..

如何使用?

# clone
git clone https://github.com/hehaibao/h-blog.git

# cd dir
cd h-blog

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev 

or 

npm start

# 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.

说明

如果对您有帮助,您可以点右上角 "Star" 支持一下 谢谢! ^_^

或者您可以 "follow" 一下,我会不断开源更多的有趣的项目

开发环境 macOS 10.12.6 Chrome 68  nodejs 6.10.0

如有问题请直接在 Issues 中提,或者您发现问题并有非常好的解决方案,欢迎 PR 👍

License

MIT

h-blog's People

Contributors

hehaibao avatar

Watchers

James Cloos 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.