vue-cli5.0 + vue3 + ts + less + prettier + eslint + commitlint + stylelint

catalogue 1. Building projects using Vue cli 5.0 2. Associated remote warehouse 3. Add commitlint to verify git submission information 4. Add Eslint verification code specification and submit interception 5. Add to the root directory eslintignore files, ignoring some file Eslint detection 6. Add Prettier and fix the error reported by esli ...

Added by doox00 on Tue, 08 Mar 2022 06:59:50 +0200

python tourism project

Display of small tourism projects The project adopts Vant UI as the UI of the project. The rapid prototyping interface, Vant's official address: https://vant-contrib.gitee.io/vant/#/zh-CN/home The front-end page is formed by Vue cli, and the back-end relies on Django and uses Api communication to complete it quickly Front page display Mai ...

Added by crazykid on Fri, 28 Jan 2022 20:12:31 +0200

vue cli 2X tutorial

I Environment: NodeJs(npm) There are no special operations for Mac. Next - > next - > install - > finishedwindows startup installation is the same as Mac terminal / cmdNode - V - > 14.16.2 indicates that the installation is successfulNPM - V - > 14.16.2 indicates that the installation is successfulwindows needs to modify the dow ...

Added by venkychinnu on Fri, 21 Jan 2022 19:51:10 +0200

Several schemes of topic switching in Web front end

Welcome to my official account, Talk, for my latest article:1, ForewordThis article will introduce several common schemes of topic switching in the Web front end, and the sample code is based on the React framework. show you the code!2, Scenario 1: predefined themesIn this scenario, two themes of light color and dark color are predefined, and t ...

Added by jackinva on Mon, 03 Jan 2022 18:26:38 +0200

stylelint access practice pit summary

prefaceDuring team cooperation, when everyone's code has a custom formatting method, many conflicts often need to be solved when submitting the merge. At this time, we can use eslint+stylelint to restrict the team's code. The introduction of eslint configuration is relatively simple. There are many tutorials on the Internet, while most of the s ...

Added by Altec on Sat, 06 Nov 2021 05:40:00 +0200

vite+route+less+ts+axios+vuex integration and testing of VUE

1 vite installation The red operation procedure shall prevail The steps described in 1.1 are: npm install -g create-vite-app    // Install global create vite app create-vite-app vue3-vite           // Use the tool create vite app to create a vue3 project named vue3 vite   1. ...

Added by hoolahoops on Wed, 27 Oct 2021 11:48:57 +0300

Single source shortest path (c language)

Ideas: 1. Select a point V at will and record the distance from the starting point v to all points with the distance array (2) Then in the distance array, find the shortest distance from the starting point v to which point, with this point u as the intermediate, find[u]=1, prove that this point already exists ...

Added by soulrazer on Thu, 16 Jul 2020 19:16:28 +0300

offer rotation array

Moving the first elements of an array to the end of an array is called array rotation. Input a rotation of a non decreasing sort array and output the smallest element of the rotated array. For example, if the array {3,4,5,1,2} is a rotation of {1,2,3,4,5}, the minimum value of the array is 1. NOTE: all elements given are greater than 0. If th ...

Added by h3ktlk on Thu, 09 Jul 2020 18:59:09 +0300

003_ File operation of Linux common commands

1. File operation touch command Create a file. If the file name does not exist, create it directly. If it exists, change the access time touch [option] filename1 filename2... root@ubuntu:~/Test# touch hello.c root@ubuntu:~/Test# ls hello.c rm command: delete file or directory Parameter - r recursively delete subdirectories rm -rf * del ...

Added by evo4ever on Mon, 29 Jun 2020 11:43:38 +0300

Version of Django REST framework

Article catalog 1. GET parameter get version 2. URL path to get version 3. Built in version source code process 4. Built in version class 1. GET parameter to get version The RESTful specification specifies that the version can be placed on the URL, such as http://127.0.0.1:8000/api/users/?vers ...

Added by Castle on Mon, 29 Jun 2020 09:02:55 +0300