From c8956bc0abb01222914414abc50121864ce21b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E4=B8=8A=E8=B4=B5=E7=8C=AA?= <290425385@qq.com> Date: Tue, 29 Apr 2025 20:03:28 +0800 Subject: [PATCH] =?UTF-8?q?Vue2=20&=20Vue3=20=E4=B8=ADdata=20=E4=B8=8Esetu?= =?UTF-8?q?p=20=E6=95=B0=E6=8D=AE=E7=9A=84=E8=B0=83=E7=94=A8=E6=83=85?= =?UTF-8?q?=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/workspace.xml | 78 +++++++++++++++++++++++++++++++++++---- README.md | 35 +----------------- src/components/Person.vue | 61 +++++++++++++++--------------- 3 files changed, 101 insertions(+), 73 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index cdab2f9..e98c9c3 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,20 +1,41 @@ + + - + + + + + + + + + - + { + "associatedIndex": 3 +} - + + + @@ -49,11 +75,47 @@ + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index 1c93191..d7bdb4b 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,2 @@ -# vue3_01_hello - -This template should help get you started developing with Vue 3 in Vite. - -## Recommended IDE Setup - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur). - -## Type Support for `.vue` Imports in TS - -TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types. - -## Customize configuration - -See [Vite Configuration Reference](https://vite.dev/config/). - -## Project Setup - -```sh -pnpm install -``` - -### Compile and Hot-Reload for Development - -```sh -pnpm dev -``` - -### Type-Check, Compile and Minify for Production - -```sh -pnpm build -``` +# vue3 学习库 +111 diff --git a/src/components/Person.vue b/src/components/Person.vue index 8aee676..cfb7243 100644 --- a/src/components/Person.vue +++ b/src/components/Person.vue @@ -1,40 +1,39 @@ @@ -45,6 +44,4 @@ border-radius: 1.5rem; padding: 3rem; } - -