Skip to content

swcho/razzle-with-afterjs-custom

Repository files navigation

Razzle x After.js

How to use

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

Idea behind the example

This is a basic, bare-bones example of how to use After.js and Razzle.

Check List

  • [*] TypeScript
    • Next.js, CRA requires babel7 but it doesn't support namespace keyword.
  • [*] 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published