From 2d690b20e7c9fbc86e3b0cce1e69b66a542029ab Mon Sep 17 00:00:00 2001 From: "bei.wu" <5306546@qq.com> Date: Fri, 25 Sep 2020 14:25:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9request=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 1 + ruoyi-admin/pom.xml | 27 ++++++++++++++++++++++++- ruoyi-vue-ui/pom.xml | 47 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3e63bf5d9..78fdfb34b 100644 --- a/pom.xml +++ b/pom.xml @@ -220,6 +220,7 @@ ruoyi-generator ruoyi-common ruoyi-business + pom diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml index 9f7785b48..8b477f324 100644 --- a/ruoyi-admin/pom.xml +++ b/ruoyi-admin/pom.xml @@ -112,7 +112,32 @@ false ${project.artifactId} - + + + maven-resources-plugin + + + copy Vue.js frontend content + generate-resources + + copy-resources + + + src/main/resources/public + true + + + ${project.parent.basedir}/ruoyi-vue-ui/target/dist + + static/ + index.html + + + + + + + ${project.artifactId} diff --git a/ruoyi-vue-ui/pom.xml b/ruoyi-vue-ui/pom.xml index d9b290db1..96ba06771 100644 --- a/ruoyi-vue-ui/pom.xml +++ b/ruoyi-vue-ui/pom.xml @@ -12,4 +12,51 @@ ruoyi-vue-ui pom + + 1.6 + + + + + + com.github.eirslett + frontend-maven-plugin + ${frontend-maven-plugin.version} + + + install node and npm + + install-node-and-npm + + + v9.11.1 + + + + + + + + + + + + + + + + + + npm run build + + npm + + + run build + + + + + +