Getting Started

  1. Use this github boilerplate, use it.
  2. Install dependencies with bellow command.
npm install
  1. Create .env file, for example see env.example.
  2. Run development mode.
# run development
npm run dev
#serve generated site on./dist
npm run serve
  1. Create Content.
# create page
npm run create-page your-page-title

# create post
npm run create-post your-post-title
  1. Deployment.
# generate static site result in ./dist
# you can create deployment on netlify, github pages, vercel or other static host.
npm run generate