# Create new Vite project with React TypeScript template
npm create vite@latest resume-builder -- --template react-ts
# Navigate to the new project directory
cd resume-builder
# Install base dependencies
npm installbash
# Install Lucide React for icons
npm install lucide-react
# Install Tailwind CSS and related dependencies
npm install -D tailwindcss postcss autoprefixer
# Initialize Tailwind CSS configuration
npx tailwindcss init -pAfter running the init command, you need to configure Tailwind:
tailwind.config.js:javascript
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}src/index.css:css
@tailwind base;
@tailwind components;
@tailwind utilities;If you're getting the "could not determine executable to run" error, follow these steps:
bash
# Navigate to your project
cd C:\Project\semiconductor-editor
# Clear npm cache completely
npm cache clean --force
# Remove global tailwindcss if installed
npm uninstall -g tailwindcss
# Remove local tailwindcss and reinstall
npm uninstall tailwindcss postcss autoprefixer
npm install -D tailwindcss@latest postcss@latest autoprefixer@latest
# Try initializing Tailwind again
npx tailwindcss init -p