Vue Learn Vue Instance

Vue instance Create a Vue instance: A Vue application starts by creating a Vue instance with the Vue function: var vm = new Vue({ // option }) Data and methods When a Vue instance is created, it adds all the properties from the data object to the Vue's responsive system. When the values of these properties change, the view responds by m ...

Posted by alext on Tue, 18 Jan 2022 23:22:03 +0100

[solid foundation of vue.js] nodejs introduction npm cnpm installation and uninstallation module

nodejs understanding Just as java needs a jvm virtual machine to run, js execution can be executed in the browser. Usually, we execute through the chrome console command window, that is, the browser supports js operation. nodejs is such a platform that can run js without the browser node is a javascript running environment (platform) used to ...

Posted by hooch_au78 on Tue, 18 Jan 2022 21:43:52 +0100

10 minutes to learn Vue basics Axios

Network request review. We have contacted some before. Ajax and jQuery encapsulate one based on XHR objects. We have also contacted a network request and request object in our applet. In React, I also touched a Fetch object. In Vue, we have a better scheme to cooperate with Vue: Axios. Of course, at the beginning of Vue, the official website ma ...

Posted by wolfraider on Tue, 18 Jan 2022 19:05:47 +0100

Use of vuex in vue

Vuex 1. Concept A Vue plug-in that implements centralized state (data) management in Vue. It centrally manages (reads / writes) the shared state of multiple components in Vue applications. It is also a way of communication between components and is suitable for communication between any components 2. When to use? When multiple components ne ...

Posted by trixx on Tue, 18 Jan 2022 18:20:17 +0100

Advanced TypeScript types you need to know (summary)

preface For students with JavaScript foundation, it is actually easy to get started with TypeScript. You can gradually transition from JS application to TS application by simply mastering its basic type system. // js const double = (num) => 2 * num // ts const double = (num: number): number => 2 * num However, when the application b ...

Posted by sylesia on Tue, 18 Jan 2022 06:33:29 +0100

Component library actual combat | using vue3+ts to realize global Header and list data rendering ColumnList

๐Ÿ–ผ๏ธ preface Recently, I used vue3 and ts to play with some gadgets. I found that a common requirement in normal development is the rendering of data list. Now I study again and find that many design specifications and logic I considered when learning vue2 are not particularly appropriate. Therefore, write this article to record the desig ...

Posted by DanArosa on Mon, 17 Jan 2022 22:47:47 +0100

Learned Vue defineAsyncComponent Api, which taught me this knowledge?

Author: Apoorv Tyagi Translator: front end Xiaozhi Source: dev There are dreams and dry goods. Wechat search [Daqian world] pays attention to this bowl washing wisdom who is still washing dishes in the early morning. This article GitHub https://github.com/qq449245884/xiaozhi It has been included. There are complete test sites, materials ...

Posted by PHP_PhREEEk on Mon, 17 Jan 2022 21:48:03 +0100

[practical notes] how to build rich text for your blog?

Blog address Address of my personal blog ๐Ÿ‘‰๐Ÿ‘‰ Click to enter Open source project address This is my project of an open source collection website Project address ๐Ÿ‘‰๐Ÿ‘‰ Click to enter , it can be directly set as the browser home page or desktop shortcut for use. I am using it and maintain it for a long time. Completely open source, you can re ...

Posted by JellyFish on Mon, 17 Jan 2022 19:07:47 +0100

Vue basic learning

Quoted from: https://mrbird.cc/Vue-Learn-Note.html mrbird boss blog Getting started with Vue <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>todoList</title> <script src="https://cdn.jsdelivr.net/npm/vue@2.5.17/dist/vue.js"></script></head><body><di ...

Posted by kevintynfron on Mon, 17 Jan 2022 16:05:36 +0100

Vue3 learning journey -- love Vue3--Vue3 basic syntax -- template syntax -- conditional rendering -- list rendering -- why Vue's v-for needs to bind the key attribute

Vue3 learning journey โ€“ falling in love with vue3 โ€“ vue3 basic grammar (II) โ€“ template grammar Continued: Vue3 learning journey โ€“ meet vue3 - learn about vue3 Vue3 learning journey โ€“ meet vue3 - know vue3 (II) Vue3 learning journey โ€“ falling in love with vue3 โ€“ vue3 basic syntax (I) โ€“ and basic ...

Posted by creativeimpact on Mon, 17 Jan 2022 08:59:05 +0100