Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.12 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.12 KB

Spring Vue Demo

Steps to build/run

  • Install Java 21, Maven
  • Install npm
  • In directory src/vueapp, execute npm install

In case you want to create your own Vue projects, install the Vue command line tool: npm install -g @vue/cli.

Build complete project: mvn clean package.

How to start

  • Spring part: Start the class de.codecentric.vue.VueDemoWithSpringBootApplication in your Java IDE, you can use --spring.profiles.active=ide to activate additional property file application-ide.yaml
  • Vue part: In you shell, navigate to src/vueapp, then start with npm run dev

Open in Browser: Start app

Further reading