lombo75 / coreui-vue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@coreui/vue

Npm badge NPM downloads Rollup badge Jest Vue

A @coreui/vue v2 library project

for use with CoreUI v2 Open Source Bootstrap Admin Template

Installation

npm install @coreui/vue

@coreui/vue can be used as a module in both CommonJS and ES modular environments.

When in non-modular environment, @coreui/vue will register all the components to vue by itself.

ES6

//
// You can register a component manually
//
import { Switch } from '@coreui/vue';

export default {
  ...
  components: {
    Switch
  },
  ...
};

//
// or register the whole module with vue
//
import ModuleLibrary from '@coreui/vue';

// Install this library
Vue.use(ModuleLibrary);

Changelog

See the GitHub release history.

Contributing

See CONTRIBUTING.md.

About

License:MIT License


Languages

Language:JavaScript 56.9%Language:Vue 43.1%