SHARE
TWEET

Untitled

a guest Jul 19th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ```bash
  2. npm install -g @vue/cli
  3. vue ui
  4. ```
  5. **vue ui에서 프로젝트 생성**
  6.  
  7. **application.properties**
  8. ```properties
  9. spring.mvc.static-path-pattern=/static/**
  10. spring.resources.static-locations=classpath:/static/
  11. spring.resources.add-mappings=true
  12. server.port='port'
  13. ```
  14.  
  15. **vue.config.js**
  16.  
  17. ```javascript
  18. module.exports = {
  19.     publicPath: process.env.NODE_ENV === 'production'?'./static/' : '/',
  20.     outputDir: '../../src/main/resources/static/',
  21.     productionSourceMap: false
  22. }
  23. ```
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top