Your ROOT_URL in app.ini is https://bdgit.educoder.net/ but you are visiting http://bdgit.educoder.net/p35z7urxv/pqa2fspn3/blame/commit/061b10da1022c55ceb99c23029725e2de78a44f8/element-vue/webpack.config.js
You should set ROOT_URL correctly, otherwise the web may not work correctly.
const resolve = require ( 'path' ) . resolve
const webpack = require ( 'webpack' )
const HtmlWebpackPlugin = require ( 'html-webpack-plugin' )
const url = require ( 'url' )
const publicPath = ''
module . exports = ( options = { } ) => ( {
entry : {
vendor : './src/vendor' ,
index : './src/main.js'
} ,
output : {
path : resolve ( _ _dirname , 'dist' ) ,
filename : options . dev ? '[name].js' : '[name].js?[chunkhash]' ,
chunkFilename : '[id].js?[chunkhash]' ,
publicPath : options . dev ? '/assets/' : publicPath
} ,
module : {
rules : [ {
test : /\.vue$/ ,
use : [ 'vue-loader' ]
} ,
{
test : /\.js$/ ,
use : [ 'babel-loader' ] ,
exclude : /node_modules/
} ,
{
test : /\.css$/ ,
use : [ 'style-loader' , 'css-loader' , 'postcss-loader' ]
} ,
{
test : /\.(png|jpg|jpeg|gif|eot|ttf|woff|woff2|svg|svgz)(\?.+)?$/ ,
use : [ {
loader : 'url-loader' ,
options : {
limit : 10000
}
} ]
}
]
} ,
plugins : [
new webpack . optimize . CommonsChunkPlugin ( {
names : [ 'vendor' , 'manifest' ]
} ) ,
new HtmlWebpackPlugin ( {
template : 'src/index.html'
} )
] ,
resolve : {
alias : {
'~' : resolve ( _ _dirname , 'src' )
} ,
extensions : [ '.js' , '.vue' , '.json' , '.css' ]
} ,
devServer : {
host : '192.168.31.140' ,
port : 8010 ,
proxy : {
'/api/' : {
target : 'http://192.168.31.140:8080' ,
changeOrigin : true ,
pathRewrite : {
'^/api' : ''
}
}
} ,
historyApiFallback : {
index : url . parse ( options . dev ? '/assets/' : publicPath ) . pathname
}
} ,
devtool : options . dev ? '#eval-source-map' : '#source-map'
} )