自定义镜像地址和版本解决
pnpm config set registry https://registry.npmmirror.com/
pnpm config set electron_mirror=https://cdn.npmmirror.com/binaries/electron/
pnpm config set electron_custom_dir=14.2.5
...小于 1 分钟
自定义镜像地址和版本解决
pnpm config set registry https://registry.npmmirror.com/
pnpm config set electron_mirror=https://cdn.npmmirror.com/binaries/electron/
pnpm config set electron_custom_dir=14.2.5
这里的前提是在src/main/目录下(跟src/main/resources同级)建好了webapp目录,并且在webapp下建好了WEB-INF。如图:

在做SpringBoot集成页面的时候,发现不能直接访问页面或者静态资源,都是报404,可以试试在pom.xml的build里面加入如下代码: (不想用jsp,只想用html或者其他的可以采用这种方式)
我的yaml配置
server:
port: 8080
resources:
static-locations:
- classpath:/static/
spring:
thymeleaf:
cache: false
checktemplatelocation: true
enabled: true
encoding: UTF-8
mode: HTML
prefix: classpath:/templates/
suffix: .html