iView 2.0 Vue.js UI toolkit for Meteor. Includes JS, CSS and fonts. Default language is set to en-US
(iView
from npm is set to zh-CN
). Uses iview v2.14.3 (the last V2 release).
meteor npm i -S vue // install vue from npm
meteor add efrancis:iview
Then in your client startup code
import Vue from 'vue';
import iView from 'meteor/efrancis:iview';
Vue.use(iView);
Now you can use iView components in your app.
To update iview
from npm:
rm -rf iview
git clone https://github.com/iview/iview iview
rm -rf ./iview/.git
rm -rf ./iview/.github
rm -rf ./iview/examples
rm -rf ./iview/test
cd ./iview
npm i
rm -rf ./node_modules/vue
# set src/local/index.js defaultLang to ./lang/en-US
npm run dist:prod
npm run dist:style
npm run dist:locale
rm .babelrc
rm -rf src/
Then publish new version
meteor publish
git tag -a <version>
git push origin <version>