1.0.2 • Published 5 months ago
daisy-next v1.0.2
My Create Next App
my-create-next-app
is a CLI tool for setting up a clean Next.js project with Tailwind CSS, DaisyUI, and Typography pre-configured. It automates the installation and setup process, allowing you to get started quickly.
Features
- Creates a new Next.js project with TypeScript, Tailwind CSS, and ESLint.
- Adds DaisyUI and Tailwind Typography plugins.
- Configures
tailwind.config.ts
with DaisyUI themes. - Updates
app/page.tsx
with a basic styled page. - Updates
app/layout.tsx
with metadata and layout setup. - Starts the development server automatically.
Installation
To use this tool, run the following command:
npx my-create-next-app <project-name>
Usage
Run the CLI tool:
npx my-create-next-app my-app
Navigate into the project folder:
cd my-app
The development server starts automatically. If needed, manually start it:
npm run dev
Open http://localhost:3000 in your browser to view your new Next.js app.
Customization
- Modify tailwind.config.ts to add or change Tailwind and DaisyUI settings.
- Edit app/page.tsx to update the homepage.
- Edit app/layout.tsx to modify global layout and metadata.
Dependencies Installed
- Nextjs (Latest version)
- react & react-dom
- tailwindcss
- daisyui
- @tailwindcss/typography
License
This project is licensed under the MIT License.
Contributing
Feel free to submit issues or feature requests on the repository. https://github.com/wildGaur/daisy-next