A Jekyll project template that uses Vue.js single file components complete with webpack bundling and optimizations.
jekyll-vue-template is an opinionated, but minimal boilerplate for creating statically generated sites with Jekyll and Vue.js. It supports Vue single file components and webpack optimizations including code-splitting and cache-control.
The easiest way to use the jekyll-vue-template is to clone or fork this repo, then customize it to suit your needs.
npm i
bundle
The src
directory contains the Vue application and its components. Create single file components and mount them anywhere in your Jekyll pages, including layouts, markdown pages, or includes.
To run the jekyll-vue-template in a development environment, first compile assets with webpack:
npm run dev
Alternatively you can use the watch
command to watch for changes in your webpack-managed assets and automatically recompile.
npm run watch
After assets have been built, spool up a development server with Jekyll:
bundle exec jekyll s
To build for production, first compile webpack assets:
npm run build
After assets have been built, generate the static files with Jekyll:
bundle exec jekyll build
jekyll-vue-template uses the following projects as critical workflow components:
v4.0.0
v2.6.10
v4.39.3
MIT © Christopher Murphy
自从知道了bootstrap,就被他简介,大气美观的样式吸引,即使在vue框架中,仍旧想使用,下面给出了vue适配版和原版的代码,以飨读者 数据输出部分 export default { data() { return { pagestyle:'https://v4.bootcss.com/docs/4.3/dist/css/bootstr
Static, meet dynamic. Demo: https://vue-jekyll.surge.sh This Repo is a bare-bones template for building static sites that leverage a client-side JS framework for dynamic functionality. It uses NPM, We
Jekyll 是一个简单的免费的Blog生成工具,类似WordPress。但是和WordPress又有很大的不同,原因是jekyll只是一个生成静态网页的工具,不需要数据库支持。但是可以配合第三方服务,例如discuz。最关键的是jekyll可以免费部署在Github上,而且可以绑定自己的域名。 快速安装指令: gem install jekylljekyll new my-awesome-sit
Aperture Aperture template for Jekyll. Browse through a live demo. Aperture was made by CloudCannon, the Cloud CMS for Jekyll.Find more templates and themes at CloudCannon Academy. Learn Jekyll with s
Leia em Português Typing Introduction Typing, is a template for Jekyll created especially for those who want to have a blog and pages quickly and lightly. Keep things simple, my friend! Its interface
Fur E-commerce template for Jekyll. Browse through a live demo. Fur was made by CloudCannon, the Cloud CMS for Jekyll. Find more templates, themes and Jekyll tutorials at CloudCannon Academy. Features
Treat Food/baking blog template for Jekyll. Browse through a live demo. Treat was made by CloudCannon, the Cloud CMS for Jekyll. Find more templates, themes and step-by-step Jekyll tutorials at CloudC