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
pnpmas package manager
pnpm devOpen http://localhost:3000 with your browser to see the result.
pnpm storybookThis command will open http://localhost:6006 for you, this is where you can see storybook
pnpm new-componentThis 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