element-plus / element-plus-nuxt-starter

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

Element Plus with Nuxt 3 Minimal Starter

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

If you are looking for a Vite + Vue + Element Plus starter, check out element-plus-vite-starter.

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