uiKit
A Vue.js super project created to inspire
Use it
Npm package
Install
$ npm i -S uikit-agro24
Important: don't turn off vue-loader and babel on node_modules for this package. It used for compiling package for your version of vue.
Important: include in your bundle only necessary languages
// webpack.config.js moduleexports = ... plugins: ... /moment[\/\\]locale$/ /ru/ /validatorjs[\/\\]src[\/\\]lang$/ /en|ru/ ... ...
In your code
; Vue;
or for reduce bundle size
// index.js;;; Vue; el: '#app' ;
// App.js<template> <div> <ui-button :href="prevLink" class="ui-btn--circle ui-pagination__prev__link"> <i class="uikit-arrow-back"></i> </ui-button> </div></template> <script>; components: uiButton ;</script>
Don't forget styles
Browser globals
<!-- In head. --><!-- In bottom of body. After vue.js include. -->
Options
Lang change. By default we use 'ru' lang.
Vue;
We had proxy for Validatorjs on Vue object.
Vuevalidator;
Options than we could use in package version.
Vue; // or for uiKitPlugins Vue;