diff --git a/README.md b/README.md index acfd1c4..bbc7741 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,10 @@ Mocking up web app with Vitesse(speed)

+> **Note**: This template is created during the early transition of Vue 3 and Vite. At this moment, if you are seeking for better Vue developer experience and more consistent maintenance, we recommend using [Nuxt 3](https://nuxt.com) instead (it also works perfectly with SPA or SSG as needed). This template still serves as a reference, but expect slower updates. + +
+

English | 简体中文 diff --git a/README.zh-CN.md b/README.zh-CN.md index c5253f7..7964c68 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -15,6 +15,11 @@
+> **Note**: 本模板创建于 Vue 3 和 Vite 的早期过渡时期。目前,如果您正在寻求更好的 Vue 开发体验和更持续的维护,我们建议您使用 [Nuxt 3](https://nuxt.com) 来代替(它也可以根据需要使用 SPA 或 SSG)。本模板仍会作为参考缓慢地维护下去,但将不会有太多的更新。 + +
+ +

English | 简体中文

diff --git a/cypress/e2e/basic.spec.ts b/cypress/e2e/basic.spec.ts index 55a838f..2038815 100644 --- a/cypress/e2e/basic.spec.ts +++ b/cypress/e2e/basic.spec.ts @@ -25,7 +25,7 @@ context('Basic', () => { }) it('markdown', () => { - cy.get('[title="About"]') + cy.get('[data-test-id="about"]') .click() .url() .should('eq', 'http://localhost:3333/about') diff --git a/src/components/TheFooter.vue b/src/components/TheFooter.vue index d8c0bfe..52a19b2 100644 --- a/src/components/TheFooter.vue +++ b/src/components/TheFooter.vue @@ -26,7 +26,7 @@ async function toggleLocales() {
- +
diff --git a/vite.config.ts b/vite.config.ts index bb1c895..7e3bb67 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -13,8 +13,6 @@ import VueDevTools from 'vite-plugin-vue-devtools' import LinkAttributes from 'markdown-it-link-attributes' import Unocss from 'unocss/vite' import Shiki from 'markdown-it-shiki' - -// @ts-expect-error failed to resolve types import VueMacros from 'unplugin-vue-macros/vite' import WebfontDownload from 'vite-plugin-webfont-dl'