Skip to content

Commit

Permalink
formating
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhang-Tianxu committed Feb 27, 2023
1 parent ecaa05d commit 6b6f725
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 102 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ front-end/coverage
front-end/*.local
front-end/cypress/videos/
front-end/cypress/screenshots/

# Editor directories and files
front-end/.vscode/*
front-end/!.vscode/extensions.json
Expand Down
95 changes: 0 additions & 95 deletions back-end/1.sql

This file was deleted.

10 changes: 4 additions & 6 deletions front-end/README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
# live

This template should help get you started developing with Vue 3 in Vite.


项目采用[vite](https://cn.vitejs.dev/guide/) + vue + ts的结构
利用[pinia](https://pinia.vuejs.org/)做状态管理


## Project Setup

```sh
```shell
yarn
```

### Compile and Hot-Reload for Development

```sh
```shell
yarn dev
```

Expand Down
5 changes: 5 additions & 0 deletions front-end/src/views/login/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ import SignUpVue from "./signUp/SignUp.vue";

// login 的 vuex
const loginstore = useLoginStore();
/*
* vuex完成跨文件的事件触发
* 优点是比较方便
* 缺点是难以维护和管理
*/
</script>

<style scoped lang="scss">
Expand Down

0 comments on commit 6b6f725

Please sign in to comment.