Project Setup and Working Instructions for Next.js TypeScript Project with Tailwind CSS and Three.js
Before you begin, ensure you have the following installed:
- Node.js (v14 or later)
- npm or yarn
- Git
git clone https://github.com/aymanatech/aymanatech_site.git
cd aymanatech_siteRun either of the following commands to install the project's dependencies:
npm installor
yarn installTailwind CSS is already configured in this project. To customize your styles, modify the tailwind.config.js file.
To start the development server, run:
npm run devor
yarn devThis will start the server at http://localhost:3000. Open this URL in your browser to see your application.
To build the application for production, run:
npm run buildor
yarn buildTo run the app in production mode after building, use:
npm startor
yarn startTo include Three.js in your project, you can install it via npm:
npm install threeor
yarn add threeNow you can import and use Three.js in your project files.
Feel free to contribute to this project! If you have any questions or suggestions, submit an issue or a pull request.