examples of just getting started using laravel with vue components: follow the tutorial to write the following examples mainly uses three files welcomeComponent.vue, app.js and index.blade.php directory structure as follows welcomeComponent.vue ap...
problem description I now need to control how the child component is displayed. I have obtained the object instance of the child component component, but how do I display this object in the template of the parent component? the environmental backgro...
problem description I now need to control how the child component is displayed. I have obtained the object instance of the child component component, but how do I display this object in the template of the parent component? the environmental backgro...
problem description I now need to control how the child component is displayed. I have obtained the object instance of the child component component, but how do I display this object in the template of the parent component? the environmental backgro...
I have used window.onresize in the hook functions of both components and found that the later components will overwrite the window.onresize of the previous components. Is there any way to ensure that the window.onresize of all components can not affect e...
the problem is difficult to describe. Let me give an example. For example, the following code is in the header of the page: <template> <div class="header"> ... < div> < template> <script> export default {...
I have introduced header and tail components into App.vue so that all pages of the project have headers and tails, but I only need some pages to introduce so far....
topic description when learning the component communication of vue according to the video tutorial, achieve the following effect: Click on the first line of text, all text becomes dell, Click on the second line of text, all text becomes lenov but...
for example, there is a drop-down box component that needs to initialize its contents. There is an init method inside the component to get the content data. Should be called with $refs.xxx.init () on the parent component, or should the child compon...
when using css module, the parent component suffixes the class selector of the child component style with the hash suffix, but the html tag is intact, causing the child component to reference no style effect for example, btn.vue is referenced in he...
example: there are resource lists, builds, army lists, and other components in the game, all of which require resource variables. build reduces the number of resource values. How does this change spread to other components? the current solutio...
router.js { path: index , name: index , component:index, children:[ { path: device user , name: user , component:user, children:[ { path: ...
< H2 > how to realize the componentization of front-end ui without relying on front-end frameworks such as React, Vue and Angular? < H2 >...
after the vue parent component updates the data through the ref call child component method, the view part updates and calling the unified method in the subcomponent mounted () {} can update vue version 2.5.15 parent.vue this.$nextTick(() => {...
in the Vue component, the value in the object returned by Data is modified by the method in Methods, but the whole page is not re-rendered according to the modified value export default { data () { let page = this.$attrs[ page ] let pageSize = this....
requirements: implement the reuse of Vue.js but single-page applications that is to put a single page as a page (module or component) into another Vue.js project through vue-router routing. question: I don t know what the professional name of this...