nuxt-starter-netlify

majiayu000 的头像作者 majiayu000

使用 Nuxt for Netlify 的最小 Vue 登陆页面。

📖 中文导读:使用 Nuxt for Netlify 的最小 Vue 登陆页面。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: nuxt-starter-netlify description: Minimal Vue landing page with Nuxt for Netlify.

Nuxt Starter (Netlify)

A minimal Vue landing page with Nuxt.

Tech Stack

  • Framework: Nuxt
  • Frontend: Vue
  • Package Manager: npm

Setup

1. Clone the Template

git clone --depth 1 https://github.com/netlify-templates/nuxt-starter.git .

If the directory is not empty:

git clone --depth 1 https://github.com/netlify-templates/nuxt-starter.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template

2. Remove Git History (Optional)

rm -rf .git
git init

3. Install Dependencies

npm install

Build

npm run build

Deploy to Netlify

netlify deploy --prod

Development

npm run dev