d595bae9170425091f5339d28d191dade27b36cb
All checks were successful
CI / cache-and-install (push) Successful in 1m19s
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@unocss/preset-rem-to-px](https://github.com/unocss/unocss/tree/main/packages/preset-rem-to-px#readme) ([source](https://github.com/unocss/unocss/tree/HEAD/packages/preset-rem-to-px)) | devDependencies | minor | [`^0.61.9` -> `^0.62.0`](https://renovatebot.com/diffs/npm/@unocss%2fpreset-rem-to-px/0.61.9/0.62.1) | | [@unocss/reset](https://github.com/unocss/unocss) | devDependencies | minor | [`^0.61.9` -> `^0.62.0`](https://renovatebot.com/diffs/npm/@unocss%2freset/0.61.9/0.62.1) | | [@yanhao98/vue-router-helper](https://github.com/yanhao98/vue-router-helper) | dependencies | patch | [`^0.0.0` -> `^0.0.2`](https://renovatebot.com/diffs/npm/@yanhao98%2fvue-router-helper/0.0.0/0.0.2) | | [alova](https://alova.js.org) ([source](https://github.com/alovajs/alova)) | dependencies | patch | [`3.0.6` -> `3.0.7`](https://renovatebot.com/diffs/npm/alova/3.0.6/3.0.7) | | [unocss](https://github.com/unocss/unocss) | devDependencies | minor | [`^0.61.9` -> `^0.62.0`](https://renovatebot.com/diffs/npm/unocss/0.61.9/0.62.1) | | [unplugin-vue-components](https://github.com/unplugin/unplugin-vue-components) | devDependencies | patch | [`0.27.3` -> `0.27.4`](https://renovatebot.com/diffs/npm/unplugin-vue-components/0.27.3/0.27.4) | | [unplugin-vue-router](https://github.com/posva/unplugin-vue-router) | devDependencies | patch | [`0.10.2` -> `0.10.3`](https://renovatebot.com/diffs/npm/unplugin-vue-router/0.10.2/0.10.3) | | [vite-plugin-vue-devtools](https://github.com/vuejs/devtools-next) ([source](https://github.com/vuejs/devtools-next/tree/HEAD/packages/vite)) | devDependencies | patch | [`7.3.7` -> `7.3.8`](https://renovatebot.com/diffs/npm/vite-plugin-vue-devtools/7.3.7/7.3.8) | --- ### Release Notes <details> <summary>unocss/unocss (@​unocss/preset-rem-to-px)</summary> ### [`v0.62.1`](https://github.com/unocss/unocss/releases/tag/v0.62.1) [Compare Source](https://github.com/unocss/unocss/compare/v0.62.0...v0.62.1) ##### 🐞 Bug Fixes - **core**: Fix config content pipline merging - by [@​ocavue](https://github.com/ocavue) in https://github.com/unocss/unocss/issues/4068 [<samp>(fccb0)</samp>](https://github.com/unocss/unocss/commit/fccb0d7d) ##### [View changes on GitHub](https://github.com/unocss/unocss/compare/v0.62.0...v0.62.1) ### [`v0.62.0`](https://github.com/unocss/unocss/releases/tag/v0.62.0) [Compare Source](https://github.com/unocss/unocss/compare/v0.61.9...v0.62.0) ##### 🚀 Features - Upgrade deps, upgrade `@typescript-eslint` - by [@​antfu](https://github.com/antfu) [<samp>(aaf3a)</samp>](https://github.com/unocss/unocss/commit/aaf3ac90) - Replace fast-glob with tinyglobby - by [@​SuperchupuDev](https://github.com/SuperchupuDev) and [@​antfu](https://github.com/antfu) in https://github.com/unocss/unocss/issues/4048 [<samp>(3ccd4)</samp>](https://github.com/unocss/unocss/commit/3ccd4c8f) - **playground**: Supports selecting a specific unocss version - by [@​Tzyito](https://github.com/Tzyito) and [@​antfu](https://github.com/antfu) in https://github.com/unocss/unocss/issues/4016 [<samp>(24340)</samp>](https://github.com/unocss/unocss/commit/243409f1) - **preset**: Support `content` option in presets - by [@​Jannchie](https://github.com/Jannchie) and **Anthony Fu** in https://github.com/unocss/unocss/issues/4041 [<samp>(2466d)</samp>](https://github.com/unocss/unocss/commit/2466d2ac) - **preset-mini**: Add starting: variant for [@​starting-style](https://github.com/starting-style) and transition-discrete, transition-normal rules - by [@​henrikvilhelmberglund](https://github.com/henrikvilhelmberglund) and **Anthony Fu** in https://github.com/unocss/unocss/issues/3621 [<samp>(5d2e6)</samp>](https://github.com/unocss/unocss/commit/5d2e67bc) ##### 🐞 Bug Fixes - **preset-web-fonts**: Named export - by [@​kwaa](https://github.com/kwaa) in https://github.com/unocss/unocss/issues/4053 [<samp>(dc04f)</samp>](https://github.com/unocss/unocss/commit/dc04f872) - **vscode**: Multiple projects in one workspace not work - by [@​Simon-He95](https://github.com/Simon-He95) in https://github.com/unocss/unocss/issues/4055 [<samp>(1ed1d)</samp>](https://github.com/unocss/unocss/commit/1ed1da4f) - **web-fonts**: Ensure that the font URL contains the correct protocol - by [@​Kutius](https://github.com/Kutius) and **Anthony Fu** in https://github.com/unocss/unocss/issues/4051 [<samp>(d4c29)</samp>](https://github.com/unocss/unocss/commit/d4c29000) ##### [View changes on GitHub](https://github.com/unocss/unocss/compare/v0.61.9...v0.62.0) </details> <details> <summary>yanhao98/vue-router-helper (@​yanhao98/vue-router-helper)</summary> ### [`v0.0.2`](https://github.com/yanhao98/vue-router-helper/compare/v0.0.1...v0.0.2) [Compare Source](https://github.com/yanhao98/vue-router-helper/compare/v0.0.1...v0.0.2) ### [`v0.0.1`](https://github.com/yanhao98/vue-router-helper/compare/v0.0.0...v0.0.1) [Compare Source](https://github.com/yanhao98/vue-router-helper/compare/v0.0.0...v0.0.1) </details> <details> <summary>alovajs/alova (alova)</summary> ### [`v3.0.7`](https://github.com/alovajs/alova/releases/tag/alova%403.0.7) [Compare Source](https://github.com/alovajs/alova/compare/alova@3.0.6...alova@3.0.7) ##### Patch Changes - [#​497](https://github.com/alovajs/alova/pull/497) [`6fb5e32`](6fb5e32059
) Thanks [@​MeetinaXD](https://github.com/MeetinaXD)! - fix: incorrect type inference to statehook </details> <details> <summary>unplugin/unplugin-vue-components (unplugin-vue-components)</summary> ### [`v0.27.4`](https://github.com/unplugin/unplugin-vue-components/releases/tag/v0.27.4) [Compare Source](https://github.com/unplugin/unplugin-vue-components/compare/v0.27.3...v0.27.4) ##### 🚀 Features - Add excludeNames option - by [@​KaelWD](https://github.com/KaelWD) in https://github.com/unplugin/unplugin-vue-components/issues/788 [<samp>(aa4bc)</samp>](https://github.com/unplugin/unplugin-vue-components/commit/aa4bc3e) ##### 🐞 Bug Fixes - Get wrong vue version in monorepo - by [@​wkeylin](https://github.com/wkeylin) in https://github.com/unplugin/unplugin-vue-components/issues/768 [<samp>(565c8)</samp>](https://github.com/unplugin/unplugin-vue-components/commit/565c8bd) ##### [View changes on GitHub](https://github.com/unplugin/unplugin-vue-components/compare/v0.27.3...v0.27.4) </details> <details> <summary>posva/unplugin-vue-router (unplugin-vue-router)</summary> ### [`v0.10.3`](https://github.com/posva/unplugin-vue-router/blob/HEAD/CHANGELOG.md#0103-2024-08-12) [Compare Source](https://github.com/posva/unplugin-vue-router/compare/v0.10.2...v0.10.3) ##### Features - upgrade to [@​pinia/colada](https://github.com/pinia/colada) 0.8.0 ([c372b14](c372b14b2c
)) </details> <details> <summary>vuejs/devtools-next (vite-plugin-vue-devtools)</summary> ### [`v7.3.8`](https://github.com/vuejs/devtools-next/releases/tag/v7.3.8) [Compare Source](https://github.com/vuejs/devtools-next/compare/v7.3.7...v7.3.8) ##### 🚀 Features - **extension**: Support open-in-editor - by [@​webfansplz](https://github.com/webfansplz) in https://github.com/vuejs/devtools-next/issues/543 [<samp>(05833)</samp>](https://github.com/vuejs/devtools-next/commit/05833b6) ##### 🐞 Bug Fixes - **deps**: Update dependency minimatch to v10 - by [@​renovate](https://github.com/renovate)\[bot] in https://github.com/vuejs/devtools-next/issues/526 [<samp>(ca630)</samp>](https://github.com/vuejs/devtools-next/commit/ca630c7) - **kit**: Should access value on `ObjectRefImpl` and `GetterRefImpl` - by [@​alexzhang1030](https://github.com/alexzhang1030) in https://github.com/vuejs/devtools-next/issues/563 [<samp>(ad642)</samp>](https://github.com/vuejs/devtools-next/commit/ad6420d) ##### [View changes on GitHub](https://github.com/vuejs/devtools-next/compare/v7.3.7...v7.3.8) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNS4wIiwidXBkYXRlZEluVmVyIjoiMzguMjUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Reviewed-on: https://git.1-h.cc/examples/vue-ts-example/pulls/7 Co-authored-by: Renovate Bot <renovatebot@oo1.dev> Co-committed-by: Renovate Bot <renovatebot@oo1.dev>
vue-ts
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + 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 to make the TypeScript language service aware of .vue
types.
Customize configuration
See Vite Configuration Reference.
Project Setup
pnpm install
Compile and Hot-Reload for Development
pnpm dev
Type-Check, Compile and Minify for Production
pnpm build
Run Unit Tests with Vitest
pnpm test:unit
Lint with ESLint
pnpm lint
Description
Languages
JavaScript
95%
TypeScript
2.6%
Vue
2.2%
HTML
0.1%
SCSS
0.1%