移动安装目录,支持根目录index.php访问,也可以像tp5一样只对外开放public一个目录

This commit is contained in:
xurongyao 2018-09-16 16:09:44 +08:00
parent 89ae09c0bd
commit 11afe9137e

View File

@ -4,7 +4,7 @@
urlArgs: "v=201712230955",
map: {
'*': {
'css': '{__PLUG_PATH}requirejs/require-css.js'
'css': "{__PLUG_PATH}requirejs/require-css.js"
}
},
shim: {
@ -24,7 +24,7 @@
deps: ['css!yduicss']
}
},
baseUrl: '//' + location.hostname + '/{__PUBLIC_PATH}',
baseUrl: '//' + location.hostname + "/{__PUBLIC_PATH}",
paths: {
'static': 'static',
'vue': 'static/plug/vue/dist/vue.min',