Understanding Vue transitions and animation
Understanding Vue transitions and animation The transition element is a wrapper that helps us add transition functionality to the element. It provides different hooks and adds classes to changing elements so that we can style them at different stages of transformation.
enter-from-classenter-active-classenter-to-classleave-from-classleave-acti ...
Added by The Chancer on Wed, 09 Feb 2022 22:10:55 +0200
What are the Web front-end development technology stacks
This article will summarize and sort out the front-end technology stack currently used by the author, which is very basic. If you know something about the basic JS/HTML/CSS framework, but you don't know or feel confused about the current popular web framework, more directly the technology that can be employed, then I believe you will gain enoug ...
Added by antonbrk on Wed, 09 Feb 2022 20:27:34 +0200
Use antv/X6 to realize the flow of line animation and quickly build initial practice records such as flow chart and DAG chart
Recently, we need to display the deep learning network structure diagram on the front end in a more intuitive form. For data transmission, we plan to use the form of data path flow, because I haven't learned much about the front end. I feel that there will be many problems after I write js and css code. The beauty of the front end display an ...
Added by mkr on Wed, 09 Feb 2022 16:49:24 +0200
Vue3+webpack4 framework construction
1. Install vue3 scaffold
Build a project framework based on vue-cli3
Download Vue cli
Official documents: https://www.vue3js.cn/docs/zh/guide/installation.html#npm
yarn global add @vue/cli@next
# OR
npm install -g @vue/cli@next
Run the following command to create a new project
vue create vue3-demo
After you create it, you will be asked t ...
Added by kingcobra96 on Wed, 09 Feb 2022 14:10:22 +0200
The WebPack configuration file is extracted and stored
Separation of WebPack configuration files
sketch
Separate the configuration file to achieve the goal of relying on one configuration file when developing and one configuration file when publishing. When the amount of code in the configuration file is huge, this can effectively improve the cleanliness; All configuration mixed webpack con ...
Added by uknowho008 on Wed, 09 Feb 2022 03:21:55 +0200
At the Vue Conf 21 conference, script setup syntax was mentioned in particular!
By Matt Maribojoc Translator: front end Xiaozhi Source: stackabuse
There are dreams and dry goods. Wechat search [Daqian world] pays attention to this dish 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, mater ...
Added by asfaw on Wed, 09 Feb 2022 00:37:44 +0200
Pull the tenth bullet in the notes of high paid employment course at the front end (module 3-6)
This module mainly explains some technical points encountered in the actual combat of Vue, and explains how to use Vue for development in the actual combat through the actual operation of a course management project.
Using TypeScript in Vue projects
There are two ways to use ts in Vue projects. One is to use TypeScript in new projects; 2, Use ...
Added by ryanbutler on Tue, 08 Feb 2022 12:52:33 +0200
Use script setup syntax to optimize your vue3 code
script setup is a new syntax sugar introduced in vue3 to simplify the lengthy template code when using Composition API.
For example:
<script lang="ts">
import { defineComponent, ref } from 'vue'
import { MyButton } from '@/components'
export default defineComponent({
components: {
MyButton
},
props: {
name: String
},
...
Added by feest on Tue, 08 Feb 2022 02:01:10 +0200
Vue learning notes - common instructions
This article is used to introduce the instructions commonly used in Vue
1, Instruction definition
1. In addition to variables, expressions can also be placed in the instruction
2. All instructions begin with v -
2, Common instructions
1.v-cloak
1. Definition: it is used to solve the flicker problem of small and simple vue projects. ...
Added by Fitzlegend on Tue, 08 Feb 2022 01:50:23 +0200
Building wheels -- implement a data-driven router according to the principle of Vue Router
Let's create a data-driven router as follows:
new Router({
id: 'router-view', // Container view
mode: 'hash', // pattern
routes: [
{
path: '/',
name: 'home',
component: '<div>Home</div>',
beforeEnter: (next) => {
console.log('before enter home')
next()
},
afterEnter: ...
Added by jonker on Mon, 07 Feb 2022 23:40:12 +0200