the global js file introduced in vue can print that $in dev mode, but the file complie reported an error, saying that the global file could not be found. The
file must be found because it can be read normally in dev mode. I wonder if it is the problem with weex-vue-loader. Is there a big god to help take a look at
A lot of things have been commented out in
globa, leaving only one for this test
.related codes
in the xxx.vue file
import $from"@ / global.js"
modal.toast ({
message: $,
duration: 2
})
in the global.js file
export default {
router:123123,
}