-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
43 lines (42 loc) · 1.67 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
* 前端模块配置
* @author 南丞 <[email protected]>
* @homepage https://friday-go.cc/
*/
require.config({
urlArgs: 'version=0.1',
baseUrl: window.pfinaljs.base,
paths: {
css: 'css.min',
pfinaljs: 'pfinaljs',
layer: window.pfinaljs.base + 'pfinaljs/plug/layer/layer',
laydate: window.pfinaljs.base + 'pfinaljs/plug/laydate/laydate',
enlarge: window.pfinaljs.base + 'pfinaljs/plug/enlarge/enlarge',
bootstrap: 'https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min',
bootstrap4: 'https://cdn.bootcss.com/bootstrap/4.1.1/js/bootstrap.bundle.min',
lodash: 'https://cdn.bootcss.com/lodash.js/4.17.10/lodash.min',
jquery: "https://cdn.bootcss.com/jquery/3.3.1/jquery.min",
webuploader: window.pfinaljs.base + 'pfinaljs/plug/webuploader/webuploader.min',
},
shim: {
pfinaljs: {
deps: ["css!https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css"]
},
layer: {
deps: ['css!' + window.pfinaljs.base + 'pfinaljs/plug/layer/theme/default/layer.css']
},
bootstrap: {
deps: ['css!https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css']
},
bootstrap4: {
deps: ['css!https://cdn.bootcss.com/bootstrap/4.1.1/css/bootstrap-grid.min.css']
},
enlarge: {
deps: [window.pfinaljs.base + 'plug/enlarge/enlarge.init.js', 'css!' + window.pfinaljs.base_url + 'pfinaljs/plug/enlarge/enlarge.css']
},
webuploader: {
deps: ['css!' + window.pfinaljs.base + 'pfinaljs/plug/webuploader/webuploader.css']
}
},
waitSeconds: 30
})