Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```bash
- npm install -g @vue/cli
- vue ui
- ```
- **vue ui에서 프로젝트 생성**
- **application.properties**
- ```properties
- spring.mvc.static-path-pattern=/static/**
- spring.resources.static-locations=classpath:/static/
- spring.resources.add-mappings=true
- server.port='port'
- ```
- **vue.config.js**
- ```javascript
- module.exports = {
- publicPath: process.env.NODE_ENV === 'production'?'./static/' : '/',
- outputDir: '../../src/main/resources/static/',
- productionSourceMap: false
- }
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement