Eason Chang's brand new personal blog
Visit: https://easonchang.com/
- 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
pnpm dev
Open http://localhost:3000 with your browser to see the result.
pnpm storybook
This command will open http://localhost:6006 for you, this is where you can see storybook
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
pnpm new-post