Open8
Next.jsとTailwindのテンプレートを作る
やりたいこと
- ESLint/Prettier は入れる
- twindを入れる
- クラス名の並び替えが欲しかったけど、twindがあると(そもそもそれができないので)不要かも
yarn create next-app --typescript
ESLintは11から簡単に入れられる
yarn add -D tailwindcss@latest postcss@latest autoprefixer@latest
npx tailwindcss init -p
yarn add -D @types/tailwindcss
npx sb init --builder webpack5
yarn add -D @storybook/addon-postcss postcss
yarn add -D @types/jest babel-jest jest jest-watch-typeahead identity-obj-proxy @testing-library/react @testing-library/react-hooks @testing-library/jest-dom
npx mrm lint-staged