nuxt-element-plus-module
A module that extends
unplugin-element-plus
's functionality.
Installation
- Add
nuxt-element-plus-module
dependency to your project
# use your favourite package manager
# yarn
yarn add --dev nuxt-element-plus-module
# npm
npm install --save-dev nuxt-element-plus-module
- Add
nuxt-element-plus-module
to the modules section ofnuxt.config.ts
{
modules: [
'nuxt-element-plus-module'
]
}
That's it! You can now use Element Plus components in your Nuxt app
Development
- Run
npm run dev:prepare
to generate type stubs. - Use
npm run dev
to start playground in development mode.