ZuulAndRibbon / element-plus-nuxt-starter

🌰 WIP! A starter example for element-plus with nuxt3.

Home Page:https://nuxt-starter.element-plus.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Element Plus with Nuxt 3 Minimal Starter

πŸ— Working in Progress

Nuxt3 is still beta, we may need to keep updating to adapt it. It doesn't work very well yet.

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

We recommend to look at the Nuxt3 Docs and Element Plus Docs.

Setup

Make sure to install the dependencies

yarn install

Development

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

yarn dev

More info about nuxt deployment.

You need set env NITRO_PRESET=browser to generate static html in .output/public.

Production

Build the application for production:

yarn build

Checkout the deployment documentation.

FAQ

The current ssr is a bit of a problem and is still being resolved.

Could not resolve './hooks/use-prevent-globalThis/index.js'

It is a bug when use vite with nuxt. (vite replace global with globalThis). Please be patient and wait for the fix.

https://github.com/nuxt/framework/issues/1713

Ref

About

🌰 WIP! A starter example for element-plus with nuxt3.

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

License:MIT License


Languages

Language:Vue 72.1%Language:TypeScript 25.2%Language:CSS 1.4%Language:SCSS 1.3%