Launch Week Day 3: Introducing Organization Notifications in Socket.Learn More
Socket
Book a DemoSign in
Socket

@wecity/wa

Package Overview
Dependencies
Maintainers
19
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wecity/wa

1. 全局安装wa `npm install @wecity/wa -g` 2. 启动命令 `wa watch` 如果需要自定义devServer 可使用 `wa watch --devServerConf ./config.js` ###### wa watch 参数 | 参数 | 作用 | 默认值 | | ---- | ---- | ---- | | port | 指定开发服务器端口 | 7658 | | devServerConf | 指定调试环境webpack devSer

latest
npmnpm
Version
3.14.14
Version published
Maintainers
19
Created
Source

如何使用

web端调试模式

  • 全局安装wa npm install @wecity/wa -g
  • 启动命令 wa watch 如果需要自定义devServer 可使用 wa watch --devServerConf ./config.js
wa watch 参数
参数作用默认值
port指定开发服务器端口7658
devServerConf指定调试环境webpack devServer配置
devServerConf config.js 详见webpack devServer config配置
// devServer Config props (hot, host, hotOnly, historyApiFallback, watchOptions, open) 如需改动,请联系开发者, 其他可自己设置 如 proxy,publicPath
module.exports = {
   proxy: {
      '/ioc/api': 'http://ipcrio-dev-121.pdcts.com.cn'
   }
}
wa v1To2 (wa v2)
wa v2 -i <path>  # wa v2 命令将v1版本json转为v2版本

wa clear 清理clear项目

wa clear -h # 查看命令行帮助

FAQs

Package last updated on 29 Jan 2023

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