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-elementor yarn
yarn add nuxt-elementthen 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',
}]
]
...