element-plus / element-plus-nuxt-starter

🌰 A starter example for element-plus with Nuxt 3.
https://element-plus-nuxt.vercel.app
MIT License
297 stars 82 forks source link
element-plus nuxt vue

Element Plus with Nuxt 3 Minimal Starter

🏗 Working in Progress

SSR Preview: https://element-plus-nuxt.vercel.app/

SSG Preview: https://nuxt-starter.element-plus.org/

We recommend to look at the Nuxt 3 Docs and Element Plus Docs.

Setup

Make sure to install the dependencies

pnpm install

Development

Start the development server on http://localhost:3000

pnpm dev

More info about nuxt deployment.

Run npm run generate to generate static html in .output/public.

Production

Build the application for production:

pnpm build

Checkout the deployment documentation.

Deploy

You need set NITRO_PRESET=vercel-edge, see Nuxt on Vercel.

Ref