diff --git a/.zed/settings.json b/.zed/settings.json index 081afc5..f894bd2 100644 --- a/.zed/settings.json +++ b/.zed/settings.json @@ -1,19 +1,7 @@ { - "languages": { - "JavaScript": { - "formatter": { - "code_actions": { - "source.fixAll.eslint": true - } - } - }, - - "TypeScript": { - "formatter": { - "code_actions": { - "source.fixAll.eslint": true - } - } + "formatter": { + "code_actions": { + "source.fixAll.eslint": true } } } diff --git a/playground/vite/README.md b/playground/vite/README.md index 8ba2b4d..19a2137 100644 --- a/playground/vite/README.md +++ b/playground/vite/README.md @@ -2,7 +2,13 @@ [![NPM version](https://img.shields.io/npm/v/hero-motion)](https://www.npmjs.com/package/hero-motion) -`hero-motion` is typically used to optimize code structure, and here are some examples. You can also run `pnpm play:vite` in the root dir locally. +`hero-motion` is typically used to optimize code structure, and here are some examples. + +You can also run `pnpm play:vite` in the root dir on your local environment. + +- `Tabs Component` + +- `Transition Across Different Pages` ## Tabs Component @@ -52,7 +58,7 @@ const emit = defineEmits(['click']) ``` -### Transition Across Different Pages +## Transition Across Different Pages `hero-motion` support tansition across different pages, even when components are under different routes, ensure smooth transitions when navigating between them. diff --git a/playground/vite/src/components/Tabs/Tab.vue b/playground/vite/src/components/Tabs/Tab.vue index 2d8fb51..dbd3d8c 100644 --- a/playground/vite/src/components/Tabs/Tab.vue +++ b/playground/vite/src/components/Tabs/Tab.vue @@ -9,8 +9,13 @@ const emit = defineEmits(['click'])