Commit eb14d151 authored by Tobinsk's avatar Tobinsk
Browse files

Merge branch '29-reduce-bundle-size' into 'master'

Resolve "Reduce bundle size"

Closes #29

See merge request !25
parents 32cc3710 b8ab20e3
Pipeline #6476 passed with stage
in 4 minutes and 25 seconds
......@@ -7,7 +7,8 @@
"build": "vue-cli-service build",
"test:unit": "vue-cli-service test:unit",
"test:e2e": "vue-cli-service test:e2e --mode e2e",
"lint": "vue-cli-service lint"
"lint": "vue-cli-service lint",
"build-report": "vue-cli-service build --report"
},
"dependencies": {
"@dsb-norge/vue-keycloak-js": "^1.3.1",
......@@ -42,6 +43,7 @@
"eslint": "^7.14.0",
"eslint-plugin-vue": "^7.1.0",
"node-sass": "^5.0.0",
"npm": "^6.14.11",
"sass-loader": "^10.1.0",
"typescript": "~4.1.2",
"vue-template-compiler": "^2.6.12"
......
import vue from 'vue'
import '@/assets/bootstrap.scss'
import 'bootstrap/dist/css/bootstrap.css'
import { BootstrapVue, BootstrapVueIcons } from 'bootstrap-vue'
import {
FormPlugin,
InputGroupPlugin,
FormInputPlugin,
ToastPlugin,
PaginationPlugin,
ListGroupPlugin,
FormSelectPlugin,
FormGroupPlugin,
SpinnerPlugin,
TooltipPlugin,
BadgePlugin,
FormCheckboxPlugin,
OverlayPlugin,
LayoutPlugin,
TablePlugin,
ButtonPlugin,
ButtonGroupPlugin,
CardPlugin,
NavbarPlugin
} from 'bootstrap-vue'
vue.use(BootstrapVue);
vue.use(BootstrapVueIcons);
// load icons
import { BIcon, BIconSearch, BIconShuffle, BIconFilter, BIconPower, BIconBoxArrowUpRight, BIconPencil, BIconArrowBarUp,BIconTrash,BIconX, BIconCheck, BIconGear } from 'bootstrap-vue'
// icons
vue.component('BIcon', BIcon)
vue.component('BIconSearch', BIconSearch)
vue.component('BIconShuffle', BIconShuffle)
vue.component('BIconFilter', BIconFilter)
vue.component('BIconPower', BIconPower)
vue.component('BIconBoxArrowUpRight', BIconBoxArrowUpRight)
vue.component('BIconPencil', BIconPencil)
vue.component('BIconArrowBarUp', BIconArrowBarUp)
vue.component('BIconTrash', BIconTrash)
vue.component('BIconX', BIconX)
vue.component('BIconCheck', BIconCheck)
vue.component('BIconGear', BIconGear)
// components
vue.use(FormPlugin)
vue.use(FormGroupPlugin)
vue.use(SpinnerPlugin)
vue.use(InputGroupPlugin)
vue.use(FormInputPlugin)
vue.use(TablePlugin)
vue.use(ButtonPlugin)
vue.use(ButtonGroupPlugin)
vue.use(CardPlugin)
vue.use(NavbarPlugin)
vue.use(ToastPlugin)
vue.use(PaginationPlugin)
vue.use(ListGroupPlugin)
vue.use(TooltipPlugin)
vue.use(BadgePlugin)
vue.use(FormSelectPlugin)
vue.use(FormCheckboxPlugin)
vue.use(OverlayPlugin)
vue.use(LayoutPlugin)
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment