Skip to content

ryomanden/Nextjs-template

Repository files navigation

NextJS-template

EmotionとTwin.macroに加えて、ESLintとかhuskyとか使えるようにした便利なテンプレ。

yarn

install

yarn install

develop

yarn dev

code format

yarn next format

code check

yarn next lint --fix

version update

yarn version [ --major | --minor | --patch | --premajor | --preminor | --prepatch | --prerelease ]
git push origin --tags

using package

  • Emotion - CSS in JS
  • Tailwind CSS - CSS framework
  • Twin.macro - Tailwind-CSS in JS
  • ESLint - コードのチェック
  • Prettier - コードの整形
  • husky - git commitの時に自動でリント・整形

⚠️ blogなどで使う場合 ⚠️

以下のような文言をLICENSEに追加し、投稿したコンテンツやページの内容自体にはMITライセンスを適用しない(つまりコンテンツの著作権を放棄しない)事を明示します。

MIT License

Copyright (c) [year] [Full fullname]
+ Except for images / icons / blog contents included in this project.

Permission is hereby granted, free of charge ...

source

クローン元 Twin.examples →
元の README →

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published