vuetify-extra
vuetify-extra copied to clipboard
Vuetify common bundle of components
IMPORTANT!
There's a BUG in v1.0.0-beta.0, use previous version:
npm install @menteora/[email protected]
vuetify-extra
Vue library with common used components based on Vuetify.
Demo here: https://menteora.github.io/vuetify-extra/
2020/12/18 - v1.0.0-beta.0 - reduced library size from 300kb to 9kb (removed any duplicated vuetify code)
2020/11/03 - NEW! Docker Integration
Project setup
Install Library
- Install Vuetify 2 (see documentation)
- Install Vuetify Extra:
npm install @menteora/vuetify-extra
Use Plugin
- Use Vuetify-Extra plugin after Vuetify
- Example of
/src/main.js
with Vuetify and Vuetify-Extra plugins:
import Vue from 'vue'
import App from './App.vue'
import vuetify from './plugins/vuetify'
import './plugins/vuetify-extra'
Vue.config.productionTip = false
new Vue({
vuetify,
render: h => h(App)
}).$mount('#app')
- Example of standard Vuetify plugin installation in
plugins/vuetify.js
:
import Vue from 'vue'
import Vuetify from 'vuetify/lib'
Vue.use(Vuetify)
export default new Vuetify({
icons: {
iconfont: 'mdi'
}
})
- Example Vuetify-Extra plugin installation in
plugins/vuetify-extra.js
:
import Vue from 'vue'
import VuetifyExtra from '@menteora/vuetify-extra'
Vue.use(VuetifyExtra)
Docker Integration
- Install Docker (refer to official Guide)
- Install "Docker" Extension on VSCode
- Open Folder with VSCode
- Answer "Reopen in Container"
Project setup
See demo in action:
npm run serve
Compiles and minifies Library for production
npm run build
Lints and fixes files
npm run lint
Customize configuration
Update workflow
- Update & commit code
Github pages updates
- Update demo
npm run deploy:demo
- Test demo
Github updates
- Update release inside package.json
- Tag commit
git tag v0.3.1
- Push Tags
git push origin --tags
Npm updates
- Update build
npm run build
- Login on npm
npm login
- Update package on npm
npm publish