Download the example or clone the whole project:
curl https://codeload.github.com/jaredpalmer/razzle/tar.gz/master | tar -xz --strip=2 razzle-master/examples/with-afterjs
cd with-afterjs
Install it and run:
yarn install
yarn start
This is a basic, bare-bones example of how to use After.js and Razzle.
- [*] TypeScript
- Next.js, CRA requires babel7 but it doesn't support
namespace
keyword.
- Next.js, CRA requires babel7 but it doesn't support
- [*] Debugability:
- [*] eslint with type
- [*] CSS Flexibility
- [*] less
- [*] CSS module
- [*] Common component style to text
- [*] CSS SSR Awareness(not adding style if exists): Fail to fork style-loader, use isomorphic-style-loader
- [*] Storybook
- [*] SEO
- [*] Dynamic title
- [*] Dynamic meta
- Use case
- [*] Posts
- CMS
- Dashboard
- Rich
- Redux
- Routing
- Dirty detect
- Fetch/mock
- Jest snapshot test
- Graphql
- Test
- Jest storybook snapshot