蓝鲸国货商城平台前端项目

chillqi 2dac8266bc 修改完善了代码 2 лет назад
.vscode ad37c2295c feat:新建项目框架 2 лет назад
public ad37c2295c feat:新建项目框架 2 лет назад
src 2dac8266bc 修改完善了代码 2 лет назад
.gitignore ad37c2295c feat:新建项目框架 2 лет назад
README.md ad37c2295c feat:新建项目框架 2 лет назад
auto-imports.d.ts 1518bc8b39 提供密码错误弹窗并设计了样式 2 лет назад
components.d.ts 4e876481f2 商品详情界面,为商品照片设置走马灯 2 лет назад
index.html 425a7888b3 Merge branch 'feature-user-page' into store 2 лет назад
package-lock.json 44c4440165 更新了element-plus版本 2 лет назад
package.json 44c4440165 更新了element-plus版本 2 лет назад
tailwind.config.ts 6e39128e01 Add package: tailwindcss, element-ui, vue-router; Finished login & register component style; Todo: login/register logic, dashboard component 2 лет назад
tsconfig.json bd49ca02ac 为路由增加了Meta信息;现在路由守卫会根据role检查是否匹配meta信息中的权限进行跳转;为了Typescript不报错新增加一个类型声明 2 лет назад
tsconfig.node.json ad37c2295c feat:新建项目框架 2 лет назад
vite.config.ts f4cbd0dd68 移除了TailwindCSS 2 лет назад

README.md

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Recommended IDE Setup

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 TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.