mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-26 04:50:16 +00:00
44 lines
1.8 KiB
PHP
44 lines
1.8 KiB
PHP
<!--<script type="text/javascript" src="/static/plug/basket.js"></script>-->
|
|
<script type="text/javascript" src="{__PLUG_PATH}requirejs/require.js"></script>
|
|
<?php /* <script type="text/javascript" src="/static/plug/requirejs/require-basket-load.js"></script> */ ?>
|
|
<script>
|
|
var hostname = location.hostname;
|
|
if(location.port) hostname += ':' + location.port;
|
|
requirejs.config({
|
|
map: {
|
|
'*': {
|
|
'css': '{__PUBLIC_PATH}static/plug/requirejs/require-css.js'
|
|
}
|
|
},
|
|
shim:{
|
|
'iview':{
|
|
deps:['css!iviewcss']
|
|
},
|
|
'layer':{
|
|
deps:['css!layercss']
|
|
}
|
|
},
|
|
baseUrl:'//'+hostname+'{__PUBLIC_PATH}',
|
|
paths: {
|
|
'static':'static',
|
|
'system':'system',
|
|
'vue':'static/plug/vue/dist/vue.min',
|
|
'axios':'static/plug/axios.min',
|
|
'iview':'static/plug/iview/dist/iview.min',
|
|
'iviewcss':'static/plug/iview/dist/styles/iview',
|
|
'lodash':'static/plug/lodash',
|
|
'layer':'static/plug/layer/layer',
|
|
'layercss':'static/plug/layer/theme/default/layer',
|
|
'jquery':'static/plug/jquery/jquery.min',
|
|
'moment':'static/plug/moment',
|
|
'sweetalert':'static/plug/sweetalert2/sweetalert2.all.min',
|
|
'formCreate':'{__PLUG_PATH}form-create/form-create.min',
|
|
|
|
},
|
|
basket: {
|
|
excludes:['system/js/index','system/util/mpVueComponent','system/util/mpVuePackage']
|
|
// excludes:['system/util/mpFormBuilder','system/js/index','system/util/mpVueComponent','system/util/mpVuePackage']
|
|
}
|
|
});
|
|
</script>
|
|
<script type="text/javascript" src="{__ADMIN_PATH}util/mpFrame.js"></script>
|