veox

1.0.0 • Public • Published

Veox!!!

This is a static blog framework by Nodejs and VueJS!🚀🚀🚀

node npm CocoaPods

Usage

npm install -g veox
veox init veox-demo
cd veox-demo
veox build
veox preview

Installation

Before you install veox,you need some things:

If your have installed above things,then,you can run:

npm install -g veox

You can use cnpm to install this package, if you are in China😊!

Config

You can modify config.json in your project of veox.

{
  "git": {
    "branch": "master", // your branch
    "repo": "" // your repositoriy address
  },
  "template": [ // you need some template files
    "dist",
    "index.html"
  ]
}

Build

In your project of veox,it have a folder named _posts.It is your folders of some actices.

If you want to build your blog,you can run:

veox build

Then,it will create a file named deploy,if you have not this folder before!It will be parsesing your .md file and outputs .html file.

Deploy

If you already run build Command,then,you can deploy your project!

veox deploy

It will be copying your template code to folder named deploy.

You can config that you want to appointed some file can be copy to folder named deploy.

Preview

In the end,you already build and deploy,then,you can run:

veox preview

About your MarkDown file!

Veox wants to know your articles title, date and tag.you must add some infomations to your markdown file:

---
title: This is your title of article!
date: 2016-01-01
tag: hello
---
  • title: your title of article
  • date: format must is '20XX-XX-XX'
  • tag: your tag of article, Only one tag!

License

http://opensource.org/licenses/MIT

Readme

Keywords

none

Package Sidebar

Install

npm i veox

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • johnhsm