Skip to content

Commit 147f6f9

Browse files
authored
chore: Update to latest Vue version and build tools (#11)
* Update to vite, use latest vue tools Remove comment Update babel and package-lock Fix lint issues Fix lint issues Fix prettier Add github action Test before building * Lint ts files too * Add tsconfig
1 parent 9905b37 commit 147f6f9

16 files changed

+3314
-28970
lines changed

Diff for: .prettierrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Clone this repo and, from the project directory, run:
1414

1515
```bash
1616
npm install
17-
npm run serve
17+
npm run dev
1818
```
1919

2020
Open http://localhost:8080 to view it in the browser.

Diff for: babel.config.js

-5
This file was deleted.

Diff for: public/index.html renamed to index.html

+4-5
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@
44
<meta charset="utf-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
7-
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
7+
<link rel="icon" href="/favicon.ico" />
88
<title>Daily Vue demo</title>
99
</head>
1010
<body>
1111
<noscript>
1212
<strong
13-
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
14-
properly without JavaScript enabled. Please enable it to
15-
continue.</strong
13+
>We're sorry but this page doesn't work properly without JavaScript
14+
enabled. Please enable it to continue.</strong
1615
>
1716
</noscript>
1817
<div id="app"></div>
19-
<!-- built files will be auto injected -->
18+
<script type="module" src="/src/main.js"></script>
2019
</body>
2120
</html>

0 commit comments

Comments
 (0)