ShopXO商城DIY装修组件 - 移动端可视化拖拽装修,支持小程序、H5、APP
 
 
 
Go to file
sws 18647b3f4c refactor(model-coupon-setting): 使用在线URL获取动态图片路径
重构model-coupon-setting组件,使其能够通过异步函数从在线服务器获取动态图片路径,并将其用于coupon images的源URL。此外,优化utils模块中的online_url函数,使其在VITE_APP_BASE_API为'/dev-api'时返回正确的附件主机目录。

fix(layout): 修复footer数据更新导致的错误

修复由于footer数据更新未正确处理而引发的错误。此修复涉及删除和重新组织Vue组件中的watcher,以确保footer数据的更改能够被正确捕获和处理。同时,根据提供的代码差异,似乎还对drawer容器的样式和行为进行了一些调整。
2024-09-06 11:47:06 +08:00
public
src refactor(model-coupon-setting): 使用在线URL获取动态图片路径 2024-09-06 11:47:06 +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 商品显示更新 2024-08-21 14:07:26 +08:00
.eslintrc.cjs 1.shopxo-diy装修项目,代码引入 2024-08-12 10:50:50 +08:00
.gitignore 从`.gitignore`文件中移除了对`src/types/components.d.ts`的忽略。 2024-09-05 17:07:33 +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 demo 2024-08-23 20:29:12 +08:00
index.html
md-demo.png demo 2024-08-23 20:29:12 +08:00
package.json 1.代码优化 2024-09-02 14:02:05 +08:00
temp_pro.d.ts 删除temp_pro.d.ts中的导出变量 2024-09-05 18:31:36 +08:00
tsconfig.app.json
tsconfig.json
tsconfig.node.json
vite.config.ts 1.解决多个接口报错,出现多个提示的问题 2024-09-04 17:31:55 +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

Lint with ESLint

npm run lint