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

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

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.