This guide provides comprehensive installation instructions for the Concept admin dashboard template.
# Navigate to project directory
cd concept-modern
# Install dependencies
npm install
# Start development server
npm run dev
# Install Yarn globally if not already installed
npm install -g yarn
# Navigate to project directory
cd concept-modern
# Install dependencies
yarn install
# Start development server
yarn dev
# Install pnpm globally
npm install -g pnpm
# Navigate to project directory
cd concept-modern
# Install dependencies
pnpm install
# Start development server
pnpm dev
First, check that you have the required tools installed:
# Check Node.js version
node --version
# Expected: v18.0.0 or higher
# Check npm version
npm --version
# Expected: 9.0.0 or higher
# Check Git (optional but recommended)
git --version
# Expected: Any recent version
Option A: Download ZIP
Option B: Clone via Git
# Clone the repository
git clone https://github.com/yourusername/concept-modern.git
# Enter the directory
cd concept-modern
# Install all dependencies
npm install
# If you encounter permission errors on macOS/Linux
sudo npm install
# For Windows, run terminal as Administrator
Create a .env file for environment-specific settings:
# Create .env file
touch .env
# Add environment variables
echo "VITE_APP_TITLE=My Dashboard" >> .env
echo "VITE_API_URL=http://localhost:3001" >> .env
# Start with default settings
npm run dev
# Start with specific host/port
npm run dev -- --host 0.0.0.0 --port 3001
# Start with HTTPS (requires certificate)
npm run dev -- --https
Create .vscode/extensions.json:
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"stylelint.vscode-stylelint",
"bradlc.vscode-tailwindcss",
"ritwickdey.liveserver",
"formulahendry.auto-rename-tag",
"vue.volar"
]
}
Create .vscode/settings.json:
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"scss.validate": false,
"css.validate": false,
"stylelint.validate": ["css", "scss"]
}
# Create production build
npm run build
# Files will be in dist/ directory
ls -la dist/
# Build and analyze bundle size
npm run build -- --analyze
# Opens bundle analyzer in browser
# Build and preview
npm run build
npm run preview
# Preview will run on http://localhost:4173
# Install Netlify CLI
npm install -g netlify-cli
# Build project
npm run build
# Deploy to Netlify
netlify deploy --prod --dir=dist
# Install Vercel CLI
npm install -g vercel
# Build and deploy
vercel
# Install gh-pages
npm install --save-dev gh-pages
# Add deploy script to package.json
"scripts": {
"deploy": "npm run build && gh-pages -d dist"
}
# Deploy
npm run deploy
macOS/Linux:
# Fix npm permissions
sudo chown -R $(whoami) ~/.npm
sudo chown -R $(whoami) /usr/local/lib/node_modules
Windows:
# Clear cache and reinstall
rm -rf node_modules package-lock.json
npm cache clean --force
npm install
# Find process using port 3000
# macOS/Linux
lsof -i :3000
# Windows
netstat -ano | findstr :3000
# Kill the process or use different port
npm run dev -- --port 3001
# Clear Vite cache
rm -rf node_modules/.vite
npm run build
# Rebuild node-sass
npm rebuild sass
# Or reinstall
npm uninstall sass
npm install sass
If you're still having issues:
✅ Installation complete! Here's what to do next:
Congratulations on setting up Concept! 🎉