静态网站生成器
佩科 (peco)
Peco is a static website generator powered by modern web tooling, like webpack and Vue.js. It generates static HTML files and assets at build time, once the generated website is loaded on the client-side, it runs as an SPA.
Peco是由现代Web工具(例如webpack和Vue.js)支持的静态网站生成器。 它在生成时生成静态HTML文件和资产,将生成的网站加载到客户端后,它将作为SPA运行。
如何? (How is it?)
It is good. I don't think I'll ever use Hexo again.
很好 我认为我不会再使用Hexo。
安装 (Installation)
It's recommended to install peco locally in your project:
建议在项目中本地安装peco:
cd your-project
yarn add peco
如何使用? (How to use?)
Let me explain how to use it in 20 words:
让我用20个词来解释如何使用它:
source/*.md
is your pagessource/*.md
是您的页面source/_posts/*.md
is your postssource/_posts/*.md
是您的帖子peco dev [directory]
to run itpeco dev [directory]
运行它peco build [directory]
to build itpeco build [directory]
进行构建
Documentation website is work-in-progress.
文档网站正在开发中。
翻译自: https://vuejsexamples.com/a-static-website-generator-for-humans/
静态网站生成器