Notice
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 기후변화
- this
- lightsail nodejs apache
- NPM
- OOP
- TypeScript
- git pair
- jest
- url #querystring
- 클로저
- ESLint
- #cloudfront #s3 #html 확장자 없애기
- 객체참조 #객체
Archives
- Today
- Total
Hello World...
vite index.html -> main.html 이름 변경하기 본문
nuxt2 뿐만 아니라 vue3 vite 에서도 index.html 을 main.html 등으로 (main 말고 다른 이름도 상관없음) 파일 이름을 변경해야 했다.
index.html 파일의 이름을 main.html (예시) 로 변경한 후 vite.config.ts 에서 변경해주면 된다.
...
server: {
open: "/main.html",
},
build: {
rollupOptions: {
input: {
app: "./main.html"
},
}
},
...
In vite, is there a way to update the root html name from index.html
I'm trying to update an existing project to vite but i read in the docs Vite expects an index.html file to work from. Is there anyway to specify another file name from which vite should build? in m...
stackoverflow.com
Comments