loveflow 9 months ago
commit 36380da9ea

@ -98,6 +98,7 @@ export default {
background: url("~@/assets/images/home/bg.png") no-repeat center center;
background-size: 100% 100%;
box-sizing: border-box;
.funMenu {
position: absolute;
top: 80px;
@ -110,6 +111,7 @@ export default {
background: url("~@/assets/images/home/bg2.png") no-repeat center center;
background-size: 100% 100%;
box-sizing: border-box;
overflow: hidden;
/* 旋转动画 */
.diPan {
position: absolute;

@ -1,31 +1,39 @@
const CopyWebpackPlugin = require('copy-webpack-plugin');
const CopyWebpackPlugin = require("copy-webpack-plugin");
module.exports = {
publicPath: '/',
publicPath: "/",
configureWebpack: {
plugins: [
new CopyWebpackPlugin([
{ from: 'node_modules/@liveqing/liveplayer/dist/component/crossdomain.xml' },
{ from: 'node_modules/@liveqing/liveplayer/dist/component/liveplayer.swf' },
{ from: 'node_modules/@liveqing/liveplayer/dist/component/liveplayer-lib.min.js', to: 'js/' },
{
from: "node_modules/@liveqing/liveplayer/dist/component/crossdomain.xml",
},
{
from: "node_modules/@liveqing/liveplayer/dist/component/liveplayer.swf",
},
{
from: "node_modules/@liveqing/liveplayer/dist/component/liveplayer-lib.min.js",
to: "js/",
},
// {
// patterns: [{
// from: './public/static', to: 'static'
// }]
// }
])
]),
],
// externals: {
// 'BMap': 'BMap',
// 'BMap_Symbol_SHAPE_POINT': 'BMap_Symbol_SHAPE_POINT'
// }
},
css:{
loaderOptions:{
sass:{
prependData:`@import "~@/loveflow/assets/index.scss";`
}
}
}
}
css: {
loaderOptions: {
sass: {
prependData: `@import "~@/loveflow/assets/index.scss";`,
},
},
},
devServer: {
port: "2911",
},
};

Loading…
Cancel
Save