the company"s require.js-based projects are packaged with fis3, but css loading doesn"t come in? The code for the
configuration file is as follows, but using fis3 sever start? The layer.css file cannot be found at all in the static file. At the same time, the path of this css.js is not correct
`fis.hook ("amd", {
)baseUrl: "./resources/js/plugins",
map: {
"*": {
"css": "./resources/js/plugins/require-css/1.0.1/css"
}
},
//
paths: {
"require": "require/1.2.3.4/require.js",
"jquery" : "jquery/1.11.3/jquery.min",
"layer" : "layer/3.1.0/layer"
},
// shim:AMD
// deps:js
// exports:
shim: {
"jquery" : {
exports : "jquery"
},
"layer" : {
deps : ["jquery","css!layer.css"],
exports : "layer"
}
}
}); `
browser screenshot: