主题webpack升级到5
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import axios from 'axios'
|
||||
import PhotoSwipe from '../lib/photoswipe/photoswipe'
|
||||
import PhotoSwipeUI_Default from '../lib/photoswipe/photoswipe-ui-default'
|
||||
import PhotoSwipe from 'photoswipe'
|
||||
import PhotoSwipeUI_Default from 'photoswipe/dist/photoswipe-ui-default'
|
||||
|
||||
var totalIndex = 0, defaultStep = 20, scrollLock = false
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import axios from 'axios'
|
||||
import Vue from '../lib/vue/vue.min'
|
||||
import Vue from 'vue'
|
||||
import waifuTips from '../config/waifu-tip.json'
|
||||
|
||||
function setScrollZero() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import PhotoSwipe from '../lib/photoswipe/photoswipe'
|
||||
import PhotoSwipeUI_Default from '../lib/photoswipe/photoswipe-ui-default'
|
||||
import '../lib/photoswipe/photoswipe.css'
|
||||
import '../lib/photoswipe/default-skin/default-skin.css'
|
||||
import PhotoSwipe from 'photoswipe'
|
||||
import PhotoSwipeUI_Default from 'photoswipe/dist/photoswipe-ui-default'
|
||||
import 'photoswipe/dist/photoswipe.css'
|
||||
import 'photoswipe/dist/default-skin/default-skin.css'
|
||||
|
||||
import Util from './util'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user