Springboot+Vue项目打包成jar的配置
一、单vue项目打包到Springboot中推荐
1、vue.config.js
2、config文件夹中WebMvcConfigurer
package com.cetc.code.portal.config;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@Configuration
public