mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update js components, add vue-carousel
This commit is contained in:
parent
31b114cc0b
commit
0617fada73
1 changed files with 3 additions and 5 deletions
8
resources/assets/js/components.js
vendored
8
resources/assets/js/components.js
vendored
|
@ -3,7 +3,9 @@ import BootstrapVue from 'bootstrap-vue'
|
||||||
import InfiniteLoading from 'vue-infinite-loading';
|
import InfiniteLoading from 'vue-infinite-loading';
|
||||||
import Loading from 'vue-loading-overlay';
|
import Loading from 'vue-loading-overlay';
|
||||||
import VueTimeago from 'vue-timeago';
|
import VueTimeago from 'vue-timeago';
|
||||||
|
import VueCarousel from 'vue-carousel';
|
||||||
|
|
||||||
|
Vue.use(VueCarousel);
|
||||||
Vue.use(BootstrapVue);
|
Vue.use(BootstrapVue);
|
||||||
Vue.use(InfiniteLoading);
|
Vue.use(InfiniteLoading);
|
||||||
Vue.use(Loading);
|
Vue.use(Loading);
|
||||||
|
@ -37,11 +39,7 @@ try {
|
||||||
window.filesize = require('filesize');
|
window.filesize = require('filesize');
|
||||||
import swal from 'sweetalert';
|
import swal from 'sweetalert';
|
||||||
|
|
||||||
$(document).ready(function() {
|
$('[data-toggle="tooltip"]').tooltip()
|
||||||
$(function () {
|
|
||||||
$('[data-toggle="tooltip"]').tooltip()
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
const warningTitleCSS = 'color:red; font-size:60px; font-weight: bold; -webkit-text-stroke: 1px black;';
|
const warningTitleCSS = 'color:red; font-size:60px; font-weight: bold; -webkit-text-stroke: 1px black;';
|
||||||
const warningDescCSS = 'font-size: 18px;';
|
const warningDescCSS = 'font-size: 18px;';
|
||||||
|
|
Loading…
Reference in a new issue