Next.js Blog (Netlify)
A customizable blog with visual editing and Tailwind CSS.
Tech Stack
- Framework: Next.js
- Styling: Tailwind CSS
- Package Manager: npm
Setup
1. Clone the Template
git clone --depth 1 https://github.com/netlify-templates/nextjs-blog-theme.git .If the directory is not empty:
git clone --depth 1 https://github.com/netlify-templates/nextjs-blog-theme.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template2. Remove Git History (Optional)
rm -rf .git
git init3. Install Dependencies
npm installBuild
npm run buildDeploy to Netlify
netlify deploy --prodDevelopment
npm run dev