x-chat icon indicating copy to clipboard operation
x-chat copied to clipboard

vue2.0 + websocket

Results 1 x-chat issues
Sort by recently updated
recently updated
newest added

+ 你封装的组件为什么是分开的呢?这样有什么好处? + 我也不明白这里为什么要这么写? ```javascript import Vue from "vue"; const ToastConstructor = Vue.extend(require('./toast.vue')); let instance = new ToastConstructor().$mount(''); document.body.appendChild(instance.$el); ``` 翻看文档知道这里意思是想渲染在app元素之外,为什么要这么弄呢?