search

Home  >  Q&A  >  body text

javascript - How to deploy or run a SPA project developed with webpack and vue2.0 in java Spring

How to deploy the SPA project developed with webpack and vue2.0 in java Spring or run it? Is it necessary to have a node server?

PHPzPHPz2775 days ago661

reply all(3)I'll reply

  • 高洛峰

    高洛峰2017-05-17 10:02:12

    Just copy the files in the dist folder after the build to the web folder of java or tomcat

    reply
    0
  • 某草草

    某草草2017-05-17 10:02:12

    The compiled file can be run in nginx. If you are doing back-end rendering, you need node

    reply
    0
  • 黄舟

    黄舟2017-05-17 10:02:12

    Use Gradle to integrate SpringBoot+Vue.js-development, debugging and packaging

    reply
    0
  • Cancelreply