Kamigami55 / easonchang.com-next

Eason Chang's brand new personal blog

Home Page:https://easonchang.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

easonchang.com-next

Blog homepage

Eason Chang's brand new personal blog

Visit: https://easonchang.com/

Features

  • Next.js 12
  • ContentLayer (loading local MDX files)
  • TailwindCSS
  • Atomic design project structure
  • Storybook
  • Absolute import
  • Hygen as code generator
  • Eslint, Prettier
  • Husky, lint-staged pre-commit hook
  • pnpm as package manager

Commands

Start local dev server

pnpm dev

Open http://localhost:3000 with your browser to see the result.

Start Storybook component dev environment

pnpm storybook

This command will open http://localhost:6006 for you, this is where you can see storybook

Generate new component scaffold

pnpm new-component

This calls hygen to generate new component with basic file structures, including its JS file and stories.js file

You will be prompted to select component type (atoms, molecules, organisms, templates), and then input component name

Generate new post

pnpm new-post

About

Eason Chang's brand new personal blog

https://easonchang.com


Languages

Language:MDX 84.2%Language:TypeScript 13.5%Language:JavaScript 1.6%Language:CSS 0.4%Language:EJS 0.2%Language:SCSS 0.1%