ShopXO商城DIY装修组件 - 移动端可视化拖拽装修,支持小程序、H5、APP
 
 
 
Go to file
于肖磊 631868500f Merge branch 'dev-sws' into dev-yxl 2024-10-19 16:45:34 +08:00
public 1.shopxo-diy装修项目,代码引入 2024-08-12 10:18:11 +08:00
src Merge branch 'dev-sws' into dev-yxl 2024-10-19 16:45:34 +08:00
.env.development 1.上传分类接口联调 2024-08-14 18:38:23 +08:00
.env.production 1.shopxo-diy装修项目,代码引入 2024-08-12 10:50:50 +08:00
.env.staging 1.链接优化 2024-08-19 15:11:44 +08:00
.eslintignore 1.shopxo-diy装修项目,代码引入 2024-08-12 10:50:50 +08:00
.eslintrc-auto-import.json md 2024-10-19 16:35:56 +08:00
.eslintrc.cjs 1.shopxo-diy装修项目,代码引入 2024-08-12 10:50:50 +08:00
.gitignore 1.更新temp.d.ts 2024-10-19 16:37:08 +08:00
.prettierignore Merge branch 'dev-yxl' into dev-sws 2024-08-13 18:38:53 +08:00
.prettierrc.cjs 1.shopxo-diy装修项目,代码引入 2024-08-12 10:50:50 +08:00
LICENSE add LICENSE. 2024-08-14 15:09:01 +00:00
README.md md 2024-10-19 16:35:56 +08:00
index.html 1.shopxo-diy装修项目,代码引入 2024-08-12 10:18:11 +08:00
md-demo.png demo 2024-08-23 20:29:12 +08:00
package-lock.json md 2024-10-19 16:35:56 +08:00
package.json 1.代码优化 2024-09-02 14:02:05 +08:00
temp.d.ts 1.更新temp.d.ts 2024-10-19 16:37:08 +08:00
temp_pro.d.ts 删除temp_pro.d.ts中的导出变量 2024-09-05 18:31:36 +08:00
tsconfig.app.json 1.shopxo-diy装修项目,代码引入 2024-08-12 10:18:11 +08:00
tsconfig.json 1.shopxo-diy装修项目,代码引入 2024-08-12 10:18:11 +08:00
tsconfig.node.json 1.shopxo-diy装修项目,代码引入 2024-08-12 10:18:11 +08:00
vite.config.ts ### 优化与修复 2024-09-06 13:40:59 +08:00

README.md

输入图片说明

vue3-vite

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

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.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

开发调试
npm run dev

Type-Check, Compile and Minify for Production

开发环境
npm run build
## 想要运行项目需要在根目录上新增一个文件temp.d.ts文件否则运行和打包都会报错
生产环境
npm run build-pro

Lint with ESLint

npm run lint

想要运行项目需要在根目录上新增一个文件temp.d.ts文件否则运行和打包都会报错