0.3.2 • Published 3 years ago

nuxt-element v0.3.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

nuxt-element

npm

Element UI Module for Nuxt.js to add element-ui components to your application.

Usage

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',
   ]
...

Options

locale

  • optional
  • Type: string
  • Default: en

there are two way to add options as:

...
  element: {
    locale: 'en',
  }
...

or

...
  modules: [
    ['nuxt-element', {
      locale: 'en',
    }]
  ]
...