vue.config.js configuration
vue.config.js configuration item
After the vue-cli3 scaffold is erected, there is no Vue in the project directory config. JS file, which needs to be created manually
Create Vue config. js
vue. config. JS (equivalent to the previous webpack.config.js) is an optional configuration file. If this file exists in the root directory of the projec ...
Added by mgilbert on Thu, 03 Mar 2022 17:59:07 +0200
There are six common ways for Spring to inject bean s
I General form of annotation injection
Bean class
public class TestBean{
}
Configuration class @The Configuration annotation marks this class, which indicates that this class is a Spring Configuration class. It will be loaded when loading the Configuration.
@The annotation of Bean indicates that this is a method of injecting Bean, which wi ...
Added by mubashir on Thu, 03 Mar 2022 09:06:09 +0200
Spring's solution to circular dependency and consideration of three-level cache
1, First, look at several circular dependencies
1. Constructor injection loop dependency
@Service
public class A {
public A(B b) {
}
}
@Service
public class B {
public B(A a) {
}
}
2. singleton pattern field property or setter injection cyclic dependency
@Service
public class A {
@Autowired
private B b;
}
@Service ...
Added by BLottman on Thu, 03 Mar 2022 09:00:22 +0200
Using Camunda process engine, about the use of Parallel Gateway
When using the open source camunda process engine for secondary development, the gateway must be contacted. Camunda's Modeler tool provides four types of gateways: Exclusive Gateway, Parallel Gateway, Inclusive Gateway and event based gateway. Each gateway has its own unique functions. This article will first introduce Parallel Gateway.
Para ...
Added by breath18 on Thu, 03 Mar 2022 06:19:05 +0200
Using nacos as the configuration center
nacos Alibaba is an open source application architecture. Its core is "service", which provides a series of functions such as service discovery, configuration center and micro service management around services.
The reason for choosing nacos is Chinese ecology, which is simple and easy to use.
Key features of nacos (extracted from o ...
Added by mrinfin1ty on Wed, 02 Mar 2022 10:52:44 +0200
6. Handle exceptions in a unified way and record logs in a unified way using the idea of AOP
#Unified exception handling
SpringBoot has a unified method of handling exceptions
To put the exception under a specific path, you only need to put the error page under templates/error. The name of the error page should be consistent with the error type code
When the corresponding type error occurs, springboot will automatically jum ...
Added by ialsoagree on Wed, 02 Mar 2022 10:49:47 +0200
Design and implementation of music playing system based on Java Springboot+Vue+MyBatis
?? Author home page: Li Yangyong?
?? Introduction: high quality creator in Java field Java Li Yangyong, author's resume template, learning materials, interview question bank, technical assistance [pay attention to me and give it to you]
?? Welcome to like?? Collect messages??
Video demonstration: get the contact information of the ...
Added by RavenStar on Wed, 02 Mar 2022 07:01:53 +0200
[RabbitMQ series that laymen can understand] - advanced part of RabbitMQ: implementing delay queue through plug-in (including implementation code and rabbitmq_delayed_message_exchange installation)
preface
Congratulations to all the friends who read this article for successfully unlocking the advanced feature plug-in version of RabbitMQ series
Content of delay queue ๐ Through this article, you will clearly understand: what is delay queue? Delay queue usage scenario? How to install the BBU # exchange # Q plug-in? ๐ At the end ...
Added by larsojl on Wed, 02 Mar 2022 02:50:54 +0200
SpringBoot introductory tutorial, thoroughly understand these more than 90% of Java interviewers
Power node Mr. Wang he's SpringBoot introductory series of courses, easy to understand, based on SpringBoot 2 4 version explanation.Start with the details and explain POM in each case Important dependencies in XML, followed by application configuration file, and finally code implementation. Let you know why, gradually let you master the automat ...
Added by adamwhiles on Tue, 01 Mar 2022 10:41:32 +0200
[RabbitMQ series that laymen can understand] - dead letter queue of RabbitMQ advanced (including video demonstration service and service code)
preface
Congratulations to all the friends who read this article for successfully unlocking the advanced features of RabbitMQ series
Contents of dead letter queue ๐ Through this article, you will clearly understand: what is dead letter? What is a dead letter queue? How to use the dead letter queue? etc. ๐ Finally, Xiaoming will he ...
Added by billcoker on Mon, 28 Feb 2022 02:39:48 +0200