Skip to content
Snippets Groups Projects
Commit c8c53cdd authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

Fix: Removed Bootstrap Resolver from vite

parent f9ae47fa
No related branches found
No related tags found
2 merge requests!75Fix: Resource Filesview and Metadatamanager CSS,!74Fix: List Invitations call disabled and other fixes
Pipeline #730416 passed
This commit is part of merge request !74. Comments created here will be created in the context of that merge request.
// generated by unplugin-vue-components
// We suggest you to commit this file into source control
// Read more: https://github.com/vuejs/vue-next/pull/3399
import "@vue/runtime-core";
import '@vue/runtime-core'
declare module "@vue/runtime-core" {
declare module '@vue/runtime-core' {
export interface GlobalComponents {
BAlert: typeof import("bootstrap-vue")["BAlert"];
BBadge: typeof import("bootstrap-vue")["BBadge"];
BBreadcrumb: typeof import("bootstrap-vue")["BBreadcrumb"];
BBreadcrumbItem: typeof import("bootstrap-vue")["BBreadcrumbItem"];
BButton: typeof import("bootstrap-vue")["BButton"];
BButtonGroup: typeof import("bootstrap-vue")["BButtonGroup"];
BCard: typeof import("bootstrap-vue")["BCard"];
BCardBody: typeof import("bootstrap-vue")["BCardBody"];
BCardGroup: typeof import("bootstrap-vue")["BCardGroup"];
BCardText: typeof import("bootstrap-vue")["BCardText"];
BCol: typeof import("bootstrap-vue")["BCol"];
BCollapse: typeof import("bootstrap-vue")["BCollapse"];
BContainer: typeof import("bootstrap-vue")["BContainer"];
BDropdown: typeof import("bootstrap-vue")["BDropdown"];
BDropdownDivider: typeof import("bootstrap-vue")["BDropdownDivider"];
BDropdownItem: typeof import("bootstrap-vue")["BDropdownItem"];
BForm: typeof import("bootstrap-vue")["BForm"];
BFormCheckbox: typeof import("bootstrap-vue")["BFormCheckbox"];
BFormDatepicker: typeof import("bootstrap-vue")["BFormDatepicker"];
BFormFile: typeof import("bootstrap-vue")["BFormFile"];
BFormGroup: typeof import("bootstrap-vue")["BFormGroup"];
BFormInput: typeof import("bootstrap-vue")["BFormInput"];
BFormRadioGroup: typeof import("bootstrap-vue")["BFormRadioGroup"];
BFormSelect: typeof import("bootstrap-vue")["BFormSelect"];
BFormSelectOption: typeof import("bootstrap-vue")["BFormSelectOption"];
BFormTag: typeof import("bootstrap-vue")["BFormTag"];
BFormTags: typeof import("bootstrap-vue")["BFormTags"];
BFormText: typeof import("bootstrap-vue")["BFormText"];
BFormTextarea: typeof import("bootstrap-vue")["BFormTextarea"];
BIcon: typeof import("bootstrap-vue")["BIcon"];
BIconLink45deg: typeof import("bootstrap-vue")["BIconLink45deg"];
BInputGroup: typeof import("bootstrap-vue")["BInputGroup"];
BInputGroupAppend: typeof import("bootstrap-vue")["BInputGroupAppend"];
BLink: typeof import("bootstrap-vue")["BLink"];
BModal: typeof import("bootstrap-vue")["BModal"];
BNavbar: typeof import("bootstrap-vue")["BNavbar"];
BNavbarBrand: typeof import("bootstrap-vue")["BNavbarBrand"];
BNavbarNav: typeof import("bootstrap-vue")["BNavbarNav"];
BNavbarToggle: typeof import("bootstrap-vue")["BNavbarToggle"];
BNavForm: typeof import("bootstrap-vue")["BNavForm"];
BNavItem: typeof import("bootstrap-vue")["BNavItem"];
BNavItemDropdown: typeof import("bootstrap-vue")["BNavItemDropdown"];
BOverlay: typeof import("bootstrap-vue")["BOverlay"];
BPagination: typeof import("bootstrap-vue")["BPagination"];
BPopover: typeof import("bootstrap-vue")["BPopover"];
BProgress: typeof import("bootstrap-vue")["BProgress"];
BProgressBar: typeof import("bootstrap-vue")["BProgressBar"];
BreadCrumbs: typeof import("./components/elements/BreadCrumbs.vue")["default"];
BRow: typeof import("bootstrap-vue")["BRow"];
BSkeleton: typeof import("bootstrap-vue")["BSkeleton"];
BSkeletonTable: typeof import("bootstrap-vue")["BSkeletonTable"];
BSkeletonWrapper: typeof import("bootstrap-vue")["BSkeletonWrapper"];
BSpinner: typeof import("bootstrap-vue")["BSpinner"];
BTab: typeof import("bootstrap-vue")["BTab"];
BTable: typeof import("bootstrap-vue")["BTable"];
BTabs: typeof import("bootstrap-vue")["BTabs"];
BToast: typeof import("bootstrap-vue")["BToast"];
BTooltip: typeof import("bootstrap-vue")["BTooltip"];
CoscineCard: typeof import("./components/coscine/CoscineCard.vue")["default"];
CoscineFormGroup: typeof import("./components/coscine/CoscineFormGroup.vue")["default"];
CoscineHeadline: typeof import("./components/coscine/CoscineHeadline.vue")["default"];
CoscineModal: typeof import("./components/coscine/CoscineModal.vue")["default"];
ExpiryToast: typeof import("./components/toasts/ExpiryToast.vue")["default"];
LoadingIndicator: typeof import("./components/elements/LoadingIndicator.vue")["default"];
LoadingSpinner: typeof import("./components/coscine/LoadingSpinner.vue")["default"];
Maintenance: typeof import("./components/banner/Maintenance.vue")["default"];
MultiSelect: typeof import("./components/coscine/MultiSelect.vue")["default"];
Navbar: typeof import("./components/elements/Navbar.vue")["default"];
NotificationToast: typeof import("./components/toasts/NotificationToast.vue")["default"];
Pilot: typeof import("./components/banner/Pilot.vue")["default"];
SidebarMenu: typeof import("./components/elements/SidebarMenu.vue")["default"];
BreadCrumbs: typeof import('./components/elements/BreadCrumbs.vue')['default']
CoscineCard: typeof import('./components/coscine/CoscineCard.vue')['default']
CoscineFormGroup: typeof import('./components/coscine/CoscineFormGroup.vue')['default']
CoscineHeadline: typeof import('./components/coscine/CoscineHeadline.vue')['default']
CoscineModal: typeof import('./components/coscine/CoscineModal.vue')['default']
ExpiryToast: typeof import('./components/toasts/ExpiryToast.vue')['default']
LoadingIndicator: typeof import('./components/elements/LoadingIndicator.vue')['default']
LoadingSpinner: typeof import('./components/coscine/LoadingSpinner.vue')['default']
Maintenance: typeof import('./components/banner/Maintenance.vue')['default']
MultiSelect: typeof import('./components/coscine/MultiSelect.vue')['default']
Navbar: typeof import('./components/elements/Navbar.vue')['default']
NotificationToast: typeof import('./components/toasts/NotificationToast.vue')['default']
Pilot: typeof import('./components/banner/Pilot.vue')['default']
SidebarMenu: typeof import('./components/elements/SidebarMenu.vue')['default']
}
}
export {};
export {}
import Vue from "vue";
import { IconsPlugin } from "bootstrap-vue";
import { BootstrapVue, BootstrapVueIcons } from "bootstrap-vue";
// From Bootstrap Vue resolver
// import { IconsPlugin } from "bootstrap-vue";
import "bootstrap/dist/css/bootstrap.min.css";
import "bootstrap-vue/dist/bootstrap-vue.min.css";
Vue.use(IconsPlugin);
Vue.use(BootstrapVue);
Vue.use(BootstrapVueIcons);
// From Bootstrap Vue resolver
// Vue.use(IconsPlugin);
......@@ -13,3 +13,6 @@ export function BootstrapVueResolver(): ComponentResolver {
},
};
}
// From Bootstrap Vue resolver
\ No newline at end of file
......@@ -12,7 +12,8 @@ import replace from '@rollup/plugin-replace';
import WindiCSS from "vite-plugin-windicss";
import Components from "unplugin-vue-components/vite";
import { BootstrapVueResolver } from "./src/util/bootstrap-vue-resolver";
// From Bootstrap Vue resolver
// import { BootstrapVueResolver } from "./src/util/bootstrap-vue-resolver";
const config = defineConfig({
resolve: {
......@@ -81,23 +82,23 @@ const config = defineConfig({
"Readable$3.call": "Readable$2.call",
'return new Readable$2(options);':
`{
Object.assign(this, EventEmitter.prototype);
this.push = Readable$1.prototype.push;
this.unshift = Readable$1.prototype.unshift;
this.isPaused = Readable$1.prototype.isPaused;
this.setEncoding = Readable$1.prototype.setEncoding;
this.read = Readable$1.prototype.read;
this.pipe = Readable$1.prototype.pipe;
this.unpipe = Readable$1.prototype.unpipe;
this.on = Readable$1.prototype.on;
this.addListener = Readable$1.prototype.addListener;
this.resume = Readable$1.prototype.resume;
this.pause = Readable$1.prototype.pause;
this.wrap = Readable$1.prototype.wrap;
this.push = Transform$2.prototype.push;
this._read = Transform$2.prototype._read;
this._destroy = Transform$2.prototype._destroy;
}`
Object.assign(this, EventEmitter.prototype);
this.push = Readable$1.prototype.push;
this.unshift = Readable$1.prototype.unshift;
this.isPaused = Readable$1.prototype.isPaused;
this.setEncoding = Readable$1.prototype.setEncoding;
this.read = Readable$1.prototype.read;
this.pipe = Readable$1.prototype.pipe;
this.unpipe = Readable$1.prototype.unpipe;
this.on = Readable$1.prototype.on;
this.addListener = Readable$1.prototype.addListener;
this.resume = Readable$1.prototype.resume;
this.pause = Readable$1.prototype.pause;
this.wrap = Readable$1.prototype.wrap;
this.push = Transform$2.prototype.push;
this._read = Transform$2.prototype._read;
this._destroy = Transform$2.prototype._destroy;
}`
},
delimiters: ['', ''],
preventAssignment: false,
......@@ -114,7 +115,8 @@ const config = defineConfig({
include: [/\.vue$/, /\.vue\?vue/],
exclude: [/[\\/]node_modules[\\/]/, /[\\/]\.git[\\/]/, /[\\/]\.nuxt[\\/]/],
resolvers: [
BootstrapVueResolver()
// From Bootstrap Vue resolver
// BootstrapVueResolver()
],
}),
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment