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

chillqi a503dcbdb6 Merge remote-tracking branch 'origin/master' hace 2 años
.vscode ad37c2295c feat:新建项目框架 hace 2 años
public ad37c2295c feat:新建项目框架 hace 2 años
src a503dcbdb6 Merge remote-tracking branch 'origin/master' hace 2 años
.gitignore ad37c2295c feat:新建项目框架 hace 2 años
README.md ad37c2295c feat:新建项目框架 hace 2 años
auto-imports.d.ts 1518bc8b39 提供密码错误弹窗并设计了样式 hace 2 años
components.d.ts 1f63b142d2 初步实现优惠券(存在bug) hace 2 años
index.html 425a7888b3 Merge branch 'feature-user-page' into store hace 2 años
package-lock.json f4cbd0dd68 移除了TailwindCSS hace 2 años
package.json f4cbd0dd68 移除了TailwindCSS hace 2 años
tailwind.config.ts 6e39128e01 Add package: tailwindcss, element-ui, vue-router; Finished login & register component style; Todo: login/register logic, dashboard component hace 2 años
tsconfig.json bd49ca02ac 为路由增加了Meta信息;现在路由守卫会根据role检查是否匹配meta信息中的权限进行跳转;为了Typescript不报错新增加一个类型声明 hace 2 años
tsconfig.node.json ad37c2295c feat:新建项目框架 hace 2 años
vite.config.ts f4cbd0dd68 移除了TailwindCSS hace 2 años

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.