VuePress 1.2.0

Frank Taillandier committed Nov 27, 2019
commit 450b0b3fce918a52a4f3b8c5de4469a8086e1051
Showing 4 changed files with 17 additions and 21 deletions
.gitignore +2 -2
@@ @@ -1,3 +1,3 @@
node_modules
-
- .vuepress/dist
\ No newline at end of file
+ .vuepress/dist
+ .DS_Store
README.md +3 -6
@@ @@ -12,18 +12,15 @@
# install VuePress locally
npm i -g vuepress
- # cd into the VuePress directory
- cd portfolio
-
# Start local dev server
- vuepress dev
+ vuepress dev portfolio
```
## Build
```bash
# Build static files to .vuepress/dist
- vuepress build
+ vuepress build portfolio
```
## Deploy with Netlify
@@ @@ -38,7 +35,7 @@ That's it, now your site gets deployed automatically on `git push`
## Forestry (Content Management)
- This project has been pre-configured to work with Forestry, just import your repository ✨
+ This project has been pre-configured to work with Forestry, just import your repository ✨
Any changes you make will be commited back to the repo, and deployed if you're using Netlify.
[![Import this project into Forestry](https://assets.forestry.io/import-to-forestryK.svg)](https://app.forestry.io/quick-start?repo=forestryio/portfolio-vuepress&provider=github&engine=vuepress)
portfolio/index.md +2 -3
@@ @@ -1,9 +1,8 @@
---
works_index: true
- hero_text: "<strong>We're Acme</strong>, we work for brands. But most importantly,
- we work for fun."
+ hero_text: "<strong>We're Acme</strong>, we work for brands. But most importantly, we work for fun."
title: Hero
---
<Hero :text="$page.frontmatter.hero_text" />
- <WorksList />
\ No newline at end of file
+ <WorksList />
portfolio/journal/cms-and-auto-deployment-for-vuepress.md +10 -10
@@ @@ -1,27 +1,27 @@
---
- title: Content management and auto deployment for vuepress
+ title: Content management and auto deployment for VuePress
date: 2018-08-09 17:49:28 +0000
- excerpt: This works like expected, this text is only visible on the front page where
- all the journal posts are listed
+ excerpt: This works like expected, this text is only visible on the front page where all the journal posts are listed
---
- # Content management and auto deployment for Vuepress
+ # Content management and auto deployment for VuePress
- Let's check out how we can automatically deploy our vuepress sites and manage the content from within Forestry.
+ Let's check out how we can automatically deploy our VuePress sites and manage the content from within Forestry.
- ### Preparing our vuepress site
+ ### Preparing our VuePress site
- We need to create a `package.json` file in the root of our project, this will include the build command and list vuepress as a dependency.
+ We need to create a `package.json` file in the root of our project, this will include the `build` and `dev` command and list VuePress as a dependency.
{
- "name": "project-name",
+ "name": "portfolio-vuepress",
"scripts": {
- "site:build": "vuepress build"
+ "site:build": "vuepress build portfolio",
+ "site:develop": "vuepress dev portfolio"
},
"author": "Nichlas W. Andersen",
"license": "MIT",
"dependencies": {
- "vuepress": "^0.14.1"
+ "vuepress": "^1.2.0"
}
}