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

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

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.