GithubHelp home page GithubHelp logo

bpxx / vue-blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drafish/vue-blog

0.0 1.0 0.0 2.55 MB

非常简洁的单页博客,用了vue、 vuex、 vue-resource、 vue-router

Home Page: http://learn.paidepaiper.top

JavaScript 54.90% HTML 1.60% Vue 43.50%

vue-blog's Introduction

起源

博客源于廖雪峰老师的python3教程最后的实战项目。

目前UI部分还保留了原来的样式,其余部分都已重写。前端用vue重写成单页,后端也用nodejs重写。

本项目只是单页博客的前端部分,需要配合后端启动

后端有两个版本,express-blogthinkjs-blog

开发

$ git clone https://github.com/xwlyy/vue-blog.git
$ cd vue-blog
$ npm install
$ npm run dev

在浏览中打开http://localhost:8080

目录结构

本来想写下目录结构的,但后来想想还是算了。因为我是用vue-cli生成的项目,有些文件目录我自己也不知道干啥的,反正能用就行了。

除了docssrc这两个目录,其他我都没动过。docs目录是我自己新建的,是github pages目录。src目录就是核心代码目录了,我写的全在这个目录下。

生产环境构建

$ npm run build

部署到github pages

免费部署上线

vue-blog's People

Contributors

drafish avatar

Watchers

许长勇 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.