Vite learning - basic usage configuration

Because vite uses the modular function of the native browser, node cannot be used internally, so there is no require method. This section mainly introduces the common use of vite, including css, ts, env environment variables and import Meta and other functions.CSS processingBasic useIndex. Is added in src directory css@import url('@styles/other ...

Added by iHack on Thu, 27 Jan 2022 09:56:56 +0200

Part III of Electron -- Realization of basic functions

preface Earlier, we learned what Electron is and how to communicate in process. If you want to know more about it, you can click the first article "teach you to develop desktop applications with one click" and the second article "Electron Chapter 2 - process communication" Next, let's do something about PC desktop applica ...

Added by walnoot on Thu, 27 Jan 2022 05:17:13 +0200

Vue learning notes

  Official documents: https://cn.vuejs.org/v2/guide/ 1. Getting to know Vue Vue is a progressive framework for building user interfaces. Unlike other large frameworks, Vue is designed to be applied layer by layer from bottom to top. Vue's core library only focuses on view layers, which is not only easy to start, but also easy to integrate with ...

Added by ashton321 on Thu, 27 Jan 2022 03:35:41 +0200

VUE3's multiple v-model bindings and the use of v-model modifiers - this series of tutorials is easy to understand and suitable for novices

1. General Locke's law tells us: When our goal is so great that we can't see the end, there will be a great chance to give up. Just like running a marathon, because of the long time and long distance, many players will choose to give up halfway. In fact, a good way is to split the big goal into many small goals. These small goals can see the en ...

Added by AnnieKay on Thu, 27 Jan 2022 01:24:48 +0200

vue cli, use of webpack, vue router routing, vue+elementuUI, nested routing (sub routing) in vue, parameter passing and redirection, routing mode, 404 and routing hook

1.Vue-Cli 1.1 introduction to Vue cli A scaffold officially provided by vue cli is used to quickly generate a vue project template; The pre-defined directory structure and basic code are just like when we create Maven project, we can choose to create a skeleton project, which is the scaffold, and our development is faster; Main func ...

Added by James0816 on Wed, 26 Jan 2022 22:49:09 +0200

vue3 common Composition API

1. Kick off setup Understanding: vue3 A new configuration item in 0. The value is a function. setup is the "stage of performance" of all Composition API s. The data and methods used in the component should be configured in the setup. There are two return values of the setup function: If an object is returned, the properties ...

Added by LaWr3nCe on Wed, 26 Jan 2022 22:34:27 +0200

Vue3 document parsing

Vue3 document parsing After thinking about it, it's better to send it. After all, Vue may not be contacted for a long time. I was thinking before, why do many people recommend reading documents when they encounter problems Why? Because the document is really useful (really fragrant) This article is a personal understanding of the content in th ...

Added by digitalmarks on Wed, 26 Jan 2022 16:26:56 +0200

axios network request of Vue 21

How to send network requests Traditional ajax (based on XHR, XMLHttpRequest) The configuration and calling methods are confusedLess use (jQuery AJAX is generally used for real-world development) JQuery-Ajax It works better than traditional ajaxJQuery is not required for general Vue project development Vue resource (based on Vue1.0) Vo ...

Added by poisedforflight on Tue, 25 Jan 2022 06:49:43 +0200

Parsing Vue. From JavaScript attribute descriptor JS responsive view

preface The object of JavaScript is a set of key value pairs, which can have any number of unique keys. The key can be of String type or tag type (Symbol, the basic data type newly added in ES6). Each key corresponds to a value, and the value can be any value of any type. For the properties in the object, JavaScript provides a property descrip ...

Added by mark_and_co on Tue, 25 Jan 2022 04:29:59 +0200

dajngo3,vue3 front-end project construction, introduction to Vue project structure

Front end project construction View current node version [dalaojun@localhost django_luichun]$ node -v v14.15.0 View npm version [dalaojun@localhost django_luichun]$ npm -v 6.14.8 View npm version [dalaojun@localhost django_luichun]$ cnpm -v cnpm@6.1.1 (/home/dalaojun/download/node-v14.15.0-linux-x64/lib/node_modules/cnpm/lib/parse_argv.j ...

Added by RandomZero on Mon, 24 Jan 2022 19:12:56 +0200