반응형
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 | 31 |
Tags
- rendering
- SSR
- vue3
- 선택자
- QUIC
- CSS
- JavaScript
- caching
- http3
- Cypress
- svelte
- https
- vue-cli
- import.meta.env
- custom command
- ViTE
- 비동기
- web vital
- ts error
- e2e
- typeScript
- api test
- Testing
- CloudFlare
- TLS
- msw
- devtools
- csr
- aws
- vue
Archives
- Today
- Total
목록Chunk (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