f774419140
部署开发环境 / deploy-dev (push) Successful in 2m33s
- 添加 .gitignore 文件以忽略日志、构建产物和编辑器文件 - 在开发环境中设置页面标题为"抖音数据去重 - dev" - 移除 package.json 中的 engines 字段后重新添加并更新依赖版本 - 升级 Vue、Element Plus、TypeScript 等核心依赖到最新版本 - 更新 README.md 中的项目名称和推荐浏览器设置说明 - 修改 README.md 中的命令示例从 npm 到 pnpm - 在 tsconfig.app.json 中启用 noUncheckedIndexedAccess 配置 - 将 tsconfig.node.json 继承的配置从 node22 更新为 node24 - 调整 tsconfig.node.json 中的模块解析和类型配置
46 lines
1.3 KiB
Markdown
46 lines
1.3 KiB
Markdown
# web
|
|
|
|
This template should help get you started developing with Vue 3 in Vite.
|
|
|
|
## Recommended IDE Setup
|
|
|
|
[VS Code](https://code.visualstudio.com/) + [Vue (Official)](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (
|
|
and disable Vetur).
|
|
|
|
## Recommended Browser Setup
|
|
|
|
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
|
|
- [Vue.js devtools](https://chromewebstore.google.com/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd)
|
|
- [Turn on Custom Object Formatter in Chrome DevTools](http://bit.ly/object-formatters)
|
|
- Firefox:
|
|
- [Vue.js devtools](https://addons.mozilla.org/en-US/firefox/addon/vue-js-devtools/)
|
|
- [Turn on Custom Object Formatter in Firefox DevTools](https://fxdx.dev/firefox-devtools-custom-object-formatters/)
|
|
|
|
## 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
|
|
```
|