First install dependencies:
npm install
To run in hot module reloading mode:
npm start
To create a production build:
npm run build
- Create a markdown file in the articles folder.
- Write your blog (in markdown).
- Add an object (see below, for details) to the markdown variable in markdown.js file.
The object for your new blog post should have 4 properties: pathname, title, date, and module like this:
{
pathname: "hello-world",
title: "Hello World",
date: "2019-04-14",
module: import("./hello-world.md")
},
Created with the help of createapp.dev - an online tool for creating webpack and parcel projects