This repository is to demonstrate the use of the Nextjs, AntD, and tailwind CSS on the same repository, separate on apps and components.
Others features
- ✅ Husky
- ✅ Eslint
- ✅ Prettier
Install all the dependencies
yarn
Run the app
yarn workspace app1 dev
If you want to install any dependency on any of the packages/apps, you need to use workspace
on your add
command;
yarn workspace components add antd
Or if you want to add any dependency on the root package.json
use the following command;
yarn add antd -W
The next command help you to create a new app, copy the next command and run into a new terminal;
yarn create-next-app
After app creation, you can run it with the following command;
yarn workspace app-name dev
Change
app-name
for your app name anddev
for you run command if this not calleddev