SampsonM / blog

Blog and personal site

Home Page:https://mark-sampson.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

marksblog

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Deploy to netlify

npm run deploy

Adding a blog post

  1. Add blog info to ./static/blogs.ts - e.g
export default [
	{
		name: string, 				// Name of markdown file
		componentName: string,		// Lowercase name referenced in template
		title: string,				// Blog title referenced in blog list
    url: string           // URL to be shown in url abr
	}
]
  1. Add markdown blog to ./markdowns (name must conform to markdown file name)

Help writing markdown can be found using this markdown cheat sheet or here

About

Blog and personal site

https://mark-sampson.netlify.com/


Languages

Language:Vue 71.4%Language:SCSS 11.6%Language:TypeScript 11.5%Language:HTML 2.7%Language:JavaScript 2.3%Language:Shell 0.5%