A @coreui/vue
v2
library project
for use with CoreUI v2
Open Source Bootstrap Admin Template
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.
//
// 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);
See the GitHub release history.
See CONTRIBUTING.md.