Skip to content

Commit

Permalink
feat(create-vite-app): use valid html file (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieumure authored May 7, 2020
1 parent ffd1fee commit f3265c1
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions create-vite-app/template/_index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
<div id="app"></div>
<script type="module">
import { createApp } from 'vue'
import App from './App.vue'
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Vite App</title>
</head>
<body>
<div id="app"></div>
<script type="module">
import { createApp } from 'vue'
import App from './App.vue'

createApp(App).mount('#app')
</script>
createApp(App).mount('#app')
</script>
</body>
</html>

0 comments on commit f3265c1

Please sign in to comment.