Self cultivation of the whole stack: 002 using @ vue/cli vue.js Environment construction

<h1>Self cultivation of the whole stack: using @ vue/cli vue.js Environment construction</h1> Success, real success, is being willing to do the things that other people are not. Success, real success, is willing to do what others don't want to do. Table of Contents @[TOC] When you read this article, I think you are interested in h ...

Posted by haddydaddy on Mon, 29 Jun 2020 09:27:29 +0200

Add abort function to promise

There are only three states of project: pending, resolve, and reject. Once an asynchronous commitment is issued, it can only succeed or fail after it has been pending, and cannot be cancelled in the middle. There are two ways to provide abort function for promise: Manually implement abort. After the trigger is cancelled, the data returned as ...

Posted by ibechane on Wed, 27 May 2020 17:12:29 +0200

Note: build a simple file search system based on Springboot+Lucene

Different types of files are stored in the file storage system. The background extracts the file name and content through the program. Lucene is used to index the file name and content. The front end provides a query interface for the user. After the user submits the query keywords, the index library is retrieved and the matching documents are ...

Posted by txmedic03 on Sun, 19 Apr 2020 16:23:54 +0200

OAuth2.0-based token senseless refresh

The vue project at hand now has a requirement for permissions, but the architect asked me to do it very early, but because the urgency is not very high, I was reminded of the project coming online recently, so I rushed to make up for it.This project is based on OAuth2.0 authentication and requires that access_token be carried over the head of e ...

Posted by thompsonsco on Wed, 15 Apr 2020 04:08:54 +0200

A comprehensive table of Vue module (2) creating tables

A comprehensive table of Vue module (2) creating tables Technology stack Vue family bucket: Front end framework Vue.js State management Vuex Dynamic route matching Vue router http services axios Module packaging web pack UI framework element Data server Server side node.js node based web framework express mongodb: d ...

Posted by Dathremar on Sun, 05 Apr 2020 01:04:56 +0200

Background data request in node.js mock, axios

<! -- Axios handles the cross domain background configuration 1. Install cnpm install -- save dev Axios 2.Introduce axios To project or component(Current component use only) --> // Using axios requests Axios.get("/getuser") .then(res => { //succss console.log(res.data.result); }) .catch(error => { //error ...

Posted by petrb on Sat, 04 Apr 2020 11:58:38 +0200

To quickly build a front-end and back-end separation project for VUE+SpringBoot, look at one (Windows)

VUE part About old versions The package name of the Vue CLI was changed from vue-cli to @vue/cli.If you have a global installation of an older version of vue-cli (1.x or 2.x), you need to uninstall it first through NPM uninstall vue-cli-g or yarn global remove vue-cli. The Node version requires that ...

Posted by phpsir on Fri, 13 Mar 2020 02:48:08 +0100

[vue.js] use of axios

Article directory 1, axios native JavaScript request 2, Use of axios in vue axios Chinese document|axios Chinese net http://www.axios-js.com/zh-cn/docs/ 1, axios native JavaScript request get method request random joke post mode request registration interface Request results to be printed o ...

Posted by thimble on Wed, 12 Feb 2020 16:20:56 +0100

Node.js learning Note 6 - network request and API call

Network requests and API calls It will take about 10 minutes to read this blog Network programming is a very important part of web development. JS, as the closest part of web development, is very powerful in network programming. Then Node ecology also provides various convenient tools to send and rece ...

Posted by live_ex3me on Fri, 07 Feb 2020 06:44:22 +0100

[vue] learning note 8: vue resource implements get, post and JSON requests

Vue resource plug-in open source address https://github.com/pagekit/vue-resource ps: in addition to Vue resource, the third-party package of axios can also be used to implement data request In the previous study, how to initiate data request? Common data request types? get post jsonp Implementati ...

Posted by SpaceLincoln on Sun, 02 Feb 2020 11:32:20 +0100