반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 선택자
- JavaScript
- csr
- caching
- CSS
- QUIC
- vue-cli
- msw
- TLS
- import.meta.env
- api test
- rendering
- ts error
- http3
- Cypress
- vue
- typeScript
- vue3
- devtools
- SSR
- web vital
- svelte
- CloudFlare
- custom command
- ViTE
- e2e
- Testing
- https
- 비동기
- aws
Archives
- Today
- Total
목록다중 페이지 (1)
Develop Note by J.S.
[Vue-cli] 다중 페이지 (Vue Multi-Instance)
다중 Vue Instance로 여러 페이지 생성 시에는 vue.config.js에서 각 Path별 entry 경로를 설정하여 사용합니다. module.exports = { pages: { index: { entry: 'src/main.ts', template: 'public/index.html', filename: 'index.html', }, separate: { entry: 'src/pages/separate-page/main-separate-page.ts', template: 'public/separate/index.html', filename: 'separate/index.html', }, }, } 여기서 Production 빌드로 배포 시에 각 인스턴스에 쓰인 css파일이 하나의 chunk파일에..
FrontEnd/Vite&Vue-cli
2023. 7. 28. 14:33