Merge pull request #7339 from dataease/pr@dev-v2@feat_front_base_path

Pr@dev v2@feat front base path
This commit is contained in:
fit2cloud-chenyw 2023-12-25 18:51:52 +08:00 committed by GitHub
commit 1001e72922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -124,10 +124,15 @@
<phase>generate-resources</phase>
<configuration>
<target>
<move todir="src/main/resources/static">
<copy todir="src/main/resources/static">
<fileset dir="../core-frontend/dist">
<include name="**"/>
</fileset>
</copy>
<move todir="src/main/resources/static/dev2-front">
<fileset dir="src/main/resources/static">
<exclude name="*.html"/>
</fileset>
</move>
</target>
</configuration>

View File

@ -21,6 +21,7 @@ export function pathResolve(dir: string) {
return resolve(root, '.', dir)
}
export default {
base: '/dev2-front',
plugins: [
Vue(),
VueJsx(),