Dark horse headline project - Vue-day9 - Article Details module, follow and cancel follow, praise and like functions
Article details module
Configure article detail routing
Objective: configure article detail component routing
Routing configuration
import Detail from '@/views/detail/index.vue'
{ path: '/detail', component: Detail }
Control route jump
<!-- van-cell The component supports route jump, similar to router-link Tagged to attribute - ...
Posted by pauleth on Sun, 30 Jan 2022 21:53:38 +0100
Talk to the interviewer about Diff__Vue3
This is the third article about diff, talking about vue3's diff ideas Ideas mainly come from vue-design project
[CSDN]Talk to the interviewer about Diff___React [CSDN]Talk to the interviewer about Diff___vue2 [CSDN] talk to the interviewer about diff___ Vue3 (this article)
For a better reading experience, it is suggested to start from th ...
Posted by flashback on Sun, 30 Jan 2022 16:12:48 +0100
Problems encountered in building vue project of yarn + vite + element plus
From the official website of vue3, we can use Vue cli to build projects and vite to build projects, because vite will be executed a little faster, so here we talk about using vite to build projects and some problems we encounter
Step 1: create a project
Commands for creating projects
yarn create vite-app vite-demo
After creation, you can ...
Posted by john-iom on Sun, 30 Jan 2022 12:53:36 +0100
Vue imitation todo super detailed explanation (with source code)
1, todo basic DOM structure
The code is as follows:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title></title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="robots" content="noindex, ...
Posted by BobcatM on Sun, 30 Jan 2022 10:18:43 +0100
This article is enough for the back-end personnel of the front and back-end asynchronous request Library of Axios to master the knowledge from 0-0.5~
๐ Content of this article: This article is enough for the back-end personnel of the front and back-end asynchronous request Library of Axios~ ๐ Article column: Front end knowledge (knowledge points to be mastered at the back end) ๐ฌ Last updated: January 29, 2022 This article is enough for the back-end personnel of the front and back-end asy ...
Posted by bp90210 on Sun, 30 Jan 2022 06:41:02 +0100
webpack notes
Tips:
webpck official address: https://webpack.docschina.org/guides/getting-started/#basic-setup
nrm
nrm(npm registry manager) is an image source management tool of npm. Sometimes foreign resources are too slow. Using this tool, you can quickly switch between npm sources
nrm ls displays a list of all images
The asterisk indicates the image ...
Posted by budz on Sun, 30 Jan 2022 06:01:45 +0100
An article will take you to know about wechat scanning code login
preface
Hi, Hello, I'm Xiliu. Many PC websites have the function of using wechat scanning code to log in. You don't need to enter the user name and password. Open the mobile wechat scanning to automatically log in. It's really convenient. So, how does it achieve fast login? This article will take you through the login scenario of the rea ...
Posted by Roja on Sun, 30 Jan 2022 05:22:08 +0100
Is vue2's responsive principle "obsolete"? Continue to observe vue3 the principle of responsive Proxy
I wrote an article about vue2 X's responsive principle, but because vue3 also came and followed the pace of vue3, I began to learn the responsive principle of vue3 on Monday.
You should have heard that vue3 uses proxy to solve the responsive principle, and it solves the object in vue2 Definepropery has some problems, but it also brings s ...
Posted by rsanc on Sat, 29 Jan 2022 03:32:44 +0100
Summarize the overall framework of the current vue project in combination with the company's project
1. Ecological use around the framework
Frame limited to vue2 xAt present, the company's R & D and delivery of medium-sized and large-scale projects, so vuex and Vue router must be usedThe UI is based on elementui, and the MD UI developed by the experience design department is used to eliminate elementui in subsequent developmentThe tool li ...
Posted by mbh23 on Sat, 29 Jan 2022 03:10:42 +0100
Problems encountered in building vue project of yarn + vite + element plus
From the official website of vue3, we can use Vue cli to build projects and vite to build projects, because vite will be executed a little faster, so here we talk about using vite to build projects and some problems we encounter
Step 1: create a project
Commands for creating projects
yarn create vite-app vite-demo
After creation, you can ...
Posted by pedromau on Sat, 29 Jan 2022 02:02:27 +0100