Element UI Module for Nuxt.js to add element-ui components to your application.
You need to install nuxt-element
first using
npm
npm i nuxt-element
or yarn
yarn add nuxt-element
then inside nuxt.config.js
under modules
property you need to add nuxt-element
like:
...
modules: [
'nuxt-element',
]
...
- optional
- Type:
string
- Default:
en
there are two way to add options as:
...
element: {
locale: 'en',
}
...
or
...
modules: [
['nuxt-element', {
locale: 'en',
}]
]
...