index.js
import a from"@ / views/apidocument/test/a"
console.info (a); / / has value
a.js
import c from". / c"
console.info ("bbbbbbbb",c); / / valuable
const a = {
created(){
/* let cc = new c();
cc.name="aaa"
console.info(cc.name); */
// c.name = "aaa"
}
}
export default a
c.js
import a from". / a"
console.info ("cccccccccc", a); / / undefined Why undefined?
const c = {
name: "ccc"
}
export default function () {
return {...c}
}