Next light-weight,responsive project With Vue,webpack,Vue Cli 3,Spring Boot and eclipse j2v8 Script engine for server-side-rendering
cd src/main/vue && npm i -g yarn && yarnTo get started:
yarn run dev
To build & start for production:
yarn build
yarn start
To build for ssr only
yarn build:ssr
To test:
yarn test
cd ../../../../jvuemvn install:install-file -Dfile=libs/j2v8_linux_x86_64-4.8.0.jaror
mvn install:install-file -Dfile=libs/j2v8_linux_x86_64-4.8.3.jarmvn install:install-file -Dfile=libs/j2v8_win32_x86_64-4.8.3.jar -Dpackaging=jarmvn -f pom_linux_x86_x64.xml clean package exec:javamvn clean package exec:javamvn -f pom_linux_x86_x64.xml clean package spring-boot:run
mvn clean package spring-boot:run
# 切换到root用户
su
cd /home/soft/apache-tomcat-9.0.16/bin && ./catalina.sh run
The whole project is a Java Spring Boot Maven structure,the src/main/vue is a complete Vue Project With webpack structure
When build finish,all files merged into target/ROOT.war
Have fun and enjoy!
You can contribute simplely by create a pull request for me
For detailed explanation on how things work, please visit author's blog.


