Skip to content

giiska/webpack-deploy-markdown-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack Deploy Markdown Site

Blog Framework built with node 6.0 +, Webpack 2.x, Vue 2.4.x, hexo-front-matter, markdown, visit about.

Instruction

In root doler, copy .config-example.json to .config.json, config params base on your machine.

.config.json 字段说明

  • markdownPath: 本地 markdown 的绝对路径
  • hash-deploy-url: 网站部署新版本的地址
  • public-url: qiniu cdn 图片地址
  • markdown-media-url: markdown 里面的图片资源保存位置
{
  "markdownPath": "/Users/someone/Documents/blog-markdown",
  "hash-deploy-url": "http://zaishanda.com:8081/?newhash=",
  "public-url": "http://__qiniu_cdn_domain__/site/",
  "markdown-media-url": "http://__qiniu_cdn_domain__/site-media/"
}

Dir Instruction

  • webpack webpack 及 nodejs 脚本
  • build 开发与部署数据编译打包结果
  • src blog 网站页面代码

开发与部署 命令

dev

npm run dev 进入开发模式

build

npm run build 部署

About

Blog Framework built with Webpack, Vue, hexo-front-matter, markdown

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published