Skip to content

Commit 3cd71d2

Browse files
authored
Migrate to Vite 7 and Rolldown (#214)
* migrate to vite 7 (first phase) * ✨ Migrate to Vite 7 and Rolldown
1 parent 408a6f4 commit 3cd71d2

File tree

11 files changed

+1601
-2398
lines changed

11 files changed

+1601
-2398
lines changed

index.html

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<meta name="msapplication-TileColor" content="#00a300">
1515
<meta name="msapplication-config" content="/favicon/browserconfig.xml">
1616
<meta name="theme-color" content="#ffffff">
17-
<meta name="keywords" content="vue admin, vue dashboard, free vue admin, vue3, tailwind, pinia, typescript, naive ui">
17+
<meta name="keywords" content="vue admin, vue dashboard, vue template, free vue admin, vue 3, tailwind, pinia, typescript, naiveui">
1818
<link rel="canonical" href="https://yummy-admin.netlify.app/" />
1919
<script type="application/ld+json">
2020
{
@@ -26,7 +26,7 @@
2626
}
2727
</script>
2828
<meta name="description"
29-
content="Free Vue Dashboard - Free Vue admin panel. modern designed vuejs dashboard based on naive ui - tailwind - msw - pinia - typescript" />
29+
content="Free Vue Dashboard - Free vue admin panel. modern designed vue.js dashboard based on naive ui - tailwind - msw - pinia - typescript" />
3030
<meta property="og:title" content="Yummy Admin - Free Vue Admin Panel">
3131
<meta property="og:type" content="website" />
3232
<meta property="og:image" content="https://yummy-admin.netlify.app/banner.png">
@@ -141,37 +141,13 @@
141141
<div class="preloader">
142142
<div class="loader"></div>
143143
<h1>Yummy Admin</h1>
144-
<h2>Free Vue 3 Dashboard</h2>
144+
<h2>Free Vue Admin Panel</h2>
145145
</div>
146146
</div>
147147

148148
<script type="module" src="/src/main.ts"></script>
149149
<noscript>This website requires JavaScript to function properly. Please enable JavaScript to continue.</noscript>
150150
<script defer async src="https://cloud.umami.is/script.js" data-website-id="19a8d926-ef84-44b6-a2a9-7e438716fd9d"></script>
151-
152-
<!-- Yandex.Metrika counter -->
153-
<script type="text/javascript" defer async>
154-
(function (m, e, t, r, i, k, a) {
155-
m[i] = m[i] || function () { (m[i].a = m[i].a || []).push(arguments) }
156-
m[i].l = 1 * new Date()
157-
for (let j = 0; j < document.scripts.length; j++) {
158-
if (document.scripts[j].src === r)
159-
return
160-
}
161-
k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
162-
})
163-
(window, document, 'script', 'https://mc.yandex.ru/metrika/tag.js', 'ym')
164-
165-
ym(101223342, 'init', {
166-
clickmap: true,
167-
trackLinks: true,
168-
accurateTrackBounce: true,
169-
})
170-
</script>
171-
<noscript>
172-
<div><img src="https://mc.yandex.ru/watch/101223342" style="position:absolute; left:-9999px;" alt="" /></div>
173-
</noscript>
174-
<!-- /Yandex.Metrika counter -->
175151
</body>
176152

177153
</html>

package.json

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@
2020
},
2121
"dependencies": {
2222
"@unhead/vue": "^1.11.20",
23-
"@unocss/reset": "^0.53.6",
23+
"@unocss/reset": "^66.3.2",
2424
"@vueup/vue-quill": "^1.2.0",
2525
"@vueuse/core": "^10.11.1",
2626
"@vueuse/head": "^1.3.1",
2727
"apexcharts": "^4.7.0",
2828
"axios": "^0.27.2",
2929
"moment": "^2.30.1",
3030
"nprogress": "^0.2.0",
31-
"pinia": "^2.3.1",
32-
"vue": "^3.5.13",
31+
"pinia": "^3.0.3",
32+
"vue": "^3.5.17",
3333
"vue-demi": "^0.14.10",
3434
"vue-i18n": "^9.14.4",
3535
"vue-router": "^4.5.1",
@@ -42,31 +42,27 @@
4242
"@intlify/unplugin-vue-i18n": "^0.12.3",
4343
"@types/nprogress": "^0.2.3",
4444
"@vicons/fluent": "^0.12.0",
45-
"@vitejs/plugin-vue": "^4.6.2",
46-
"@vue-macros/volar": "^0.30.15",
45+
"@vitejs/plugin-vue": "^6.0.0",
46+
"@vue-macros/volar": "3.0.0-beta.15",
4747
"@vue/test-utils": "^2.4.6",
4848
"@vuelidate/core": "^2.0.3",
4949
"@vuelidate/validators": "^2.0.4",
50-
"cross-env": "^7.0.3",
5150
"husky": "^9.1.7",
5251
"lodash": "^4.17.21",
53-
"msw": "^2.8.2",
54-
"naive-ui": "^2.41.0",
55-
"pinia-plugin-persistedstate": "^4.2.0",
52+
"msw": "^2.10.2",
53+
"naive-ui": "^2.42.0",
54+
"pinia-plugin-persistedstate": "^4.4.1",
5655
"pnpm": "^9.15.9",
57-
"rollup": "^4.40.2",
58-
"sass": "^1.87.0",
56+
"sass": "^1.89.2",
5957
"taze": "^0.11.4",
6058
"typescript": "^5.8.3",
61-
"unocss": "^0.59.4",
59+
"unocss": "^66.3.2",
6260
"unplugin-auto-import": "^0.17.8",
6361
"unplugin-vue-components": "^0.26.0",
6462
"unplugin-vue-macros": "^2.14.5",
6563
"unplugin-vue-router": "^0.8.8",
66-
"vite": "^5.4.19",
67-
"vite-plugin-inspect": "^0.7.42",
68-
"vite-plugin-pages": "^0.32.5",
69-
"vite-plugin-vue-devtools": "^7.7.6",
64+
"vite": "npm:rolldown-vite@latest",
65+
"vite-plugin-pages": "^0.33.1",
7066
"vite-plugin-vue-layouts": "^0.11.0",
7167
"vitest": "^0.33.0",
7268
"vue-tsc": "^2.2.10"

0 commit comments

Comments
 (0)