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

chillqi 3cbe665e34 完成优惠价格临时展示 2 lat temu
.vscode ad37c2295c feat:新建项目框架 2 lat temu
public ad37c2295c feat:新建项目框架 2 lat temu
src 3cbe665e34 完成优惠价格临时展示 2 lat temu
.gitignore ad37c2295c feat:新建项目框架 2 lat temu
README.md ad37c2295c feat:新建项目框架 2 lat temu
auto-imports.d.ts 1518bc8b39 提供密码错误弹窗并设计了样式 2 lat temu
components.d.ts 3cbe665e34 完成优惠价格临时展示 2 lat temu
index.html 425a7888b3 Merge branch 'feature-user-page' into store 2 lat temu
package-lock.json 44c4440165 更新了element-plus版本 2 lat temu
package.json 44c4440165 更新了element-plus版本 2 lat temu
tailwind.config.ts 6e39128e01 Add package: tailwindcss, element-ui, vue-router; Finished login & register component style; Todo: login/register logic, dashboard component 2 lat temu
tsconfig.json bd49ca02ac 为路由增加了Meta信息;现在路由守卫会根据role检查是否匹配meta信息中的权限进行跳转;为了Typescript不报错新增加一个类型声明 2 lat temu
tsconfig.node.json ad37c2295c feat:新建项目框架 2 lat temu
vite.config.ts f4cbd0dd68 移除了TailwindCSS 2 lat temu

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.