🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

wish-list-npm

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wish-list-npm

心愿单

latest
npmnpm
Version
0.5.17
Version published
Weekly downloads
33
560%
Maintainers
1
Weekly downloads
 
Created
Source

注意

master分支是全部基于webpack打包的,在低版本安卓手机端不显示; 在vite分支用vite重新配置了打包,可以支持低版本手机了

项目介绍

心愿单

项目地址

本地开发环境:https://y-dev.tuwan.com/chartRoom/wishList?cid=23484&uid=16089384&platform=1

测试环境地址:https://y-test.tuwan.com/wishList?cid=14605&uid=16089384&platform=1

线上环境地址:https://y.tuwan.com/wishList?cid=14605&uid=16089384&platform=1

后端接口地址:https://alidocs.dingtalk.com/i/nodes/a9E05BDRVQN0e16oCNlABBzeJ63zgkYA?cid=56177941642&utm_source=im&utm_scene=person_space&iframeQuery=utm_medium%3Dim_card%26utm_source%3Dim&utm_medium=im_card&corpId=dingbcf4a84114e87a5b35c2f4657eb6378f

技术栈

svelte、webpack

svelte 官网 webpack 文档地址

项目启动

  • npm i 安装依赖
  • npm run dev 本地开发 访问地址: https://y-dev.tuwan.com:8080/
  • npm run build 打包构建
  • npm run start 运行打包后的项目

跑起不起来用yarn node 版本 16.13.1

其他

  • 项目支持ts,
  • 打包的配置就一个webpack.config.ts
  • div 添加点击事件 会报错, 必须给 div 添加 role="presentation"; 这是因为 svelte 的特殊性导致的

上线相关

  • npm run build 是正常打包 打包后的代码在 dist目录下
  • 打包npm 是在public 目录下, 每次发布npm 记得更新版本号

FAQs

Package last updated on 31 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts