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