14 lines
557 B
JavaScript
14 lines
557 B
JavaScript
|
module.exports = {
|
||
|
//Solution For Issue:You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.
|
||
|
//zhengkai.blog.csdn.net
|
||
|
publicPath: process.env.NODE_ENV === 'production'
|
||
|
? './'
|
||
|
: '/',
|
||
|
runtimeCompiler: true,
|
||
|
devServer: {
|
||
|
open: true, // npm run serve后自动打开页面
|
||
|
host: '0.0.0.0', // 匹配本机IP地址(默认是0.0.0.0)
|
||
|
port: 8899, // 开发服务器运行端口号
|
||
|
proxy: null,
|
||
|
},
|
||
|
}
|