Giter Club home page Giter Club logo

kongenen.github.io's Introduction

使用vdoing搭建自己的博客

vuepress

文档地址: vuepress.vuejs.org/zh/ vuepress是基于Vue 驱动的静态网站生成器,你可以使用 Markdown 来书写内容(如文档、博客等),然后 VuePress 会帮助你生成一个静态网站来展示它们。 最早是vue的团队为了vue和vue生态的项目文档需求,因为其简约和方便越来越被更多的开发者用来当作文档、博客来使用。

vuepress-theme-vdoing

vuepress-theme-vdoing是一款简洁高效的VuePress 知识管理&博客 主题。

官方文档地址: doc.xugaoyi.com/pages/52d5c…

GitHub地址: github.com/xugaoyi/vue…

安装和使用

#clone the project
git clone https://github.com/xugaoyi/vuepress-theme-vdoing.git

#enter the project directory
cd vuepress-theme-vdoing

#install dependency
npm install # or yarn install

#develop
npm run dev # or yarn dev

部署脚本

运行deploy.sh文件 ,文件内容如下

#!/usr/bin/env sh

#确保脚本抛出遇到的错误
set -e

#生成静态文件
npm run build

#进入生成的文件夹
cd docs/.vuepress/dist

msg='deploy'
[email protected]:kongenen/kongenen.github.io  # 按你的代码仓库信息进行修改

git init
git add -A
git commit -m "${msg}"
git push -f $githubUrl master:gh-pages # 推送到github
#git push -f $githubUrl master # 推送到github
cd - # 退回开始所在目录
rm -rf docs/.vuepress/dist

kongenen.github.io's People

Contributors

miluluyo avatar kongenen 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.