我们做很酷的狗屎 表演, 我们从这个模板开始.
The objective of this boilerplate is to set up everything the developer will need (in terms of configuration) to start a next + typescript project. Eslint, prettier and husky are configured to work independent of the user's IDE configuration (as long as it's vscode).
/src. If you are changing this, be sure to also update tsconfig.json's baseUrl.Install yarn:
npm install -g yarnInstall the dependencies with:
yarnStart developing and watch for code changes:
yarn dev.env.example for required environment variables to run the project../public: 32x32 favicon.ico, perfect square favicon.svg and favicon-dark.svg (dark theme), 512x512 icon-512.png, 192x192 icon-192.png, 180x180 apple-touch-icon.png. You can use something like this for some (better to use Gimp, Photoshop, or any graphics editor; read more about it here).console.log(basementLog) if not wanted — it's under _app.tsx.README.md) with the contents of the README.example.md file — make sure to adapt it to your project's specific needs. Finally, delete the old README.example.md file.If you find you need to make extra config to make this work more seamlessly, feel free to submit a PR suggesting your changes. Our focus is to get you up and running with the least steps and burden as possible.
暂无开放 Issues,或尚未同步最近议题。