Coder Social home page Coder Social logo

vuepress-blog-with-netlify-cms's Introduction

Netlify Status License: MIT

VuePress blog with Netlify CMS

VuePress default blog theme template with netlify config for quick start

Deploy to Netlify

Demo site

vuepress-blog-starter.netlify.com

Features

VuePress "best of both" static site generator

  • Generates static html for every page so that your first page load is super fast
  • Once loaded, the site runs as a Single Page App (SPA), making it super slick

Default VuePress starter theme

Netlify's CMS integration

  • User-friendly content editor with styled preview hosted at /admin on your website
  • Git-powered editorial workflow manages content in your repo automatically
  • Post collection configured so that you can start blogging content straight away

Get started

Deploy to Netlify

The best way to start is to hit this button:

Deploy to Netlify

This is the fastest way to get your website going. You will initially be hosted on a random URL, but you can add your own domain name later in your "Domain settings" on Netlify.

Using as a GitHub template

If you are not deploying to Netlify, click the "Use this template" button above to create your own repo from this template.

Setup Netlify CMS

Edit your admin config

Edit the backend config in .vuepress/public/admin/config.yml to point at your repo.

backend:
  name: github
  repo: username/repo

Enable CMS login with GitHub OAuth

You can use Netlify Identity to authenticate CMS users, but to start off, it's simplest to give yourself access with GitHub OAuth.

  1. Go to your developer settings on GitHub and add a new OAuth app.
  2. Enter the name and full URL of your Netlify site and this authorization callback URL:
https://api.netlify.com/auth/done
  1. Click Register application to get your Client ID and Client Secret. You will need these in a moment.
  2. In your site Settings, open 'Access control'. Under OAuth, click 'Install provider' and copy in the Client ID and Secret from GitHub.

You should now be able to visit the /admin page on your website and login with GitHub.

Install and develop on your computer

You will need Node installed locally.

npm i   # installs vuepress
npm run dev   # live development

Build and deploy

npm run build   # production build in blog/.vuepress/dist

Author

Pete Davis

Contribute

This template is default VuePress - so please give your skills or money to the VuePress team.

vuepress-blog-with-netlify-cms's People

Contributors

petedavisdev avatar billyyyyy3320 avatar

Watchers

Thiago Reis avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.