gulp automation tool

gulp usage process Install node and NPM (you can use node from the command line)   - v and npm -v to see if node and NPM are installed)Install gulp cli command line tool (Global installation)     npm i gulp-cli -g    - G stands for global installation)Create project directoryUse npm init in the project directory to cre ...

Posted on Tue, 30 Nov 2021 08:33:31 -0500 by FFFF

Introduction to Svelte -- implementing cross framework component reuse with Web Components

Svelte is a new method of building Web applications. It has been tepid since its launch. It has not become the fourth largest framework after Angular, React and VUE, but it has not lost its popularity and nobody cares. An important reason for this is that svelte's core idea is to reduce the amount of code in the framework runtime through static ...

Posted on Wed, 24 Nov 2021 11:30:13 -0500 by Havery Jay

Summary of errors that occurred when starting the Vue project

Summary of errors that occurred when starting the Vue project Remember: when you open WebStorm, open it as an administrator 1. Install node_module failed I used Taobao image -- >, which is not feasible. The root cause is that the version is incompatible npm config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/ npm in ...

Posted on Thu, 18 Nov 2021 03:22:42 -0500 by zapa

Build a vue project based on vite from scratch

Create vue project with vite Here we have installed the vite environment by default. If you have any questions, please refer to the on the official website Installation process. Open cmd, point the directory to your code warehouse, and then enter the command. # npm 6.x npm init vite@latest my-vue-app --template vue # npm 7 +, additiona ...

Posted on Mon, 08 Nov 2021 05:03:06 -0500 by Millar

Three methods of common components for multiple vue projects

This article will introduce three methods of using one component for multiple vue projects at the front end: npm publish reference, npm link and npm local file reference. This paper mainly recommends the local file reference method Scheme 1: npm publishing reference We can maintain the common package by specially assigned personnel. After ...

Posted on Thu, 04 Nov 2021 16:59:47 -0400 by klevis miho

Use vue-cli3+rollup+plop to build npm plug-ins

Installing vue frame Run the following command to create a new project: vue create zys-npm-rollup-plop-program cd zys-npm-rollup-plop-program yarn run serve Install rollup.js and dependencies rollup.js is a JavaScript module packer that can compile small pieces of code into large pieces of complex code, such as libraries or applications. ...

Posted on Mon, 11 Oct 2021 00:26:41 -0400 by kishore_marti

[CTFSHOW] Getting Started with the web NodeJS (Continuous Update)

Write before web334 Download the attachment, where user.js gets the user name: CTFSHOW Password is: 123456 Audit login.js code, where: return name!=='CTFSHOW' && item.username === name.toUpperCase() && item.password === password; Getting a name cannot be "CTFSHOW", but only if the name is capitalized the ...

Posted on Mon, 04 Oct 2021 12:27:49 -0400 by jcrocker

Vue series - Application of components in Vue

Hello, I'm Lanfeng, a program yuan from a second tier city. The first part is mainly shared with you< Vue series - Vue core application (II) Today, I will mainly share with you the answers related to vue's components, including component declaration, component types, several data communication methods between components and some common inter ...

Posted on Tue, 28 Sep 2021 15:25:26 -0400 by razmon

vue+vuex+axios+echarts Draw a dynamically updated map of China

I. Build projects and install plug-ins # Install vue-cli npm install vue-cli -g # Initialize project vue init webpack china-map # Cut into Catalog cd china-map # Installation Project Dependency npm install # Install vuex npm install vuex --save # Install axios npm install axios --save # Install ECharts npm install echarts --save II. Pr ...

Posted on Mon, 20 Jul 2020 11:29:24 -0400 by drorshem

vue+vuex+axios+echarts Draw a dynamically updated map of China

I. Build projects and install plug-ins # Install vue-cli npm install vue-cli -g # Initialize project vue init webpack china-map # Cut into Catalog cd china-map # Installation Project Dependency npm install # Install vuex npm install vuex --save # Install axios npm install axios --save # Install ECharts npm install echarts --save II. Pr ...

Posted on Mon, 20 Jul 2020 11:29:39 -0400 by yddib