mirror of
https://gitee.com/dcren/cloud-native-app-initializer.git
synced 2025-04-05 17:38:04 +08:00
![]() * add custom doc Signed-off-by: theonefx <chenxilzx1@gmail.com> * add custom doc Signed-off-by: theonefx <chenxilzx1@gmail.com> * add custom doc Signed-off-by: theonefx <chenxilzx1@gmail.com> * add custom doc Signed-off-by: theonefx <chenxilzx1@gmail.com> * refactor docs Signed-off-by: theonefx <chenxilzx1@gmail.com> * allow hidden dependency Signed-off-by: theonefx <chenxilzx1@gmail.com> * support sample code write to project root Signed-off-by: theonefx <chenxilzx1@gmail.com> * spell fix Signed-off-by: theonefx <chenxilzx1@gmail.com> * spell fix Signed-off-by: theonefx <chenxilzx1@gmail.com> * allow hidden dependency Signed-off-by: theonefx <chenxilzx1@gmail.com> * support sample code write to project root Signed-off-by: theonefx <chenxilzx1@gmail.com> * add codeOnly depencencies proeprty of dependency Signed-off-by: theonefx <chenxilzx1@gmail.com> * support codeonly dependency Signed-off-by: theonefx <chenxilzx1@gmail.com> * hide group Signed-off-by: theonefx <chenxilzx1@gmail.com> * support dependency of dependency Signed-off-by: theonefx <chenxilzx1@gmail.com> * bugfix && page label update Signed-off-by: theonefx <chenxilzx1@gmail.com> * misspelling Signed-off-by: theonefx <chenxilzx1@gmail.com> Signed-off-by: theonefx <chenxilzx1@gmail.com> |
||
---|---|---|
.. | ||
dev | ||
public | ||
src | ||
static | ||
.babelrc | ||
.eslintrc | ||
.prettierignore | ||
package.json | ||
pom.xml | ||
README.md | ||
setupJest.js | ||
webpack.common.js | ||
webpack.dev.js | ||
webpack.prod.js | ||
yarn-error.log | ||
yarn.lock |
Maven编译前端流程
tips: 步骤 1、2 是将前端源码编译成结果文件,如果前端代码没有变更,可以不执行。 编译后的结果存放在 public 目录中,这个目录的文件会被提交到仓库里。
-
安装node和yarn
mvn compile -P install-yarn
-
编辑public下的网页静态文件
mvn compile -P build-public
-
将静态文件copy到target中
mvn prepare-package