From 77237d54f47ba1a292f439e5435528c9e11f5a4c Mon Sep 17 00:00:00 2001 From: Bunny <1319900154@qq.com> Date: Mon, 27 May 2024 00:02:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0i18n=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=EF=BC=8Cvite=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 - README.md | 9 - package-lock.json | 1875 +++++++++++++++++----------------- package.json | 5 + src/i18n/modules/en.ts | 22 +- src/i18n/modules/zh_CN.ts | 22 +- src/main.ts | 7 +- src/store/template.ts | 16 + src/store/test.ts | 11 - src/views/layout.vue | 6 +- src/views/test-tsx/index.tsx | 7 + tsconfig.json | 15 +- vite.config.ts | 12 +- 13 files changed, 981 insertions(+), 1030 deletions(-) create mode 100644 src/store/template.ts delete mode 100644 src/store/test.ts create mode 100644 src/views/test-tsx/index.tsx diff --git a/.env.development b/.env.development index 6a78c05..1f47395 100644 --- a/.env.development +++ b/.env.development @@ -13,7 +13,3 @@ VITE_DROP_CONSOLE = true # 开发环境接口地址 VITE_API_URL = /api -# 开发环境跨域代理,可配置多个 -VITE_PROXY = [["/api","https://mock.mengxuegu.com/mock/64112a1afe77f949bc0d6ec6/antd"]] -# VITE_PROXY = [["/api","https://mock.mengxuegu.com/mock/64112a1afe77f949bc0d6ec6"]] -# VITE_PROXY = [["/api-easymock","https://mock.mengxuegu.com"],["/api-fastmock","https://www.fastmock.site"]] \ No newline at end of file diff --git a/README.md b/README.md index 0bfecb0..e69de29 100644 --- a/README.md +++ b/README.md @@ -1,9 +0,0 @@ -# Vue 3 + TypeScript + Vite - -This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 ` -