頁面組件
1. components方式
在當前頁面使用import 標籤名 from 組件地址,之後再components中調用標籤名,或者直接再components中require(’組件地址‘).default
2. 全局引入
在組件中使用name註冊組件,在其它頁面直接以標籤使用
3. module(’公共函數js‘)
在JBoot實例後 點module('函數名js 自動引入wrap/support下的文件')
4. mixins 直接在
使用方式:在當前頁面 引入其他頁面(其他頁面有JBoot實例當前頁面不再需要)
export default{
method:{
minxins:[路徑]
}
}