Skip to content

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

License

Notifications You must be signed in to change notification settings

khofaai/nuxt-element

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published