本文发表于 3030 天前,其中的信息可能已经事过境迁
Ai摘要
加载中...|
1. 使用命令初始化项目:
shell
weex init
2. 安装依赖,进入项目目录,使用 npm 命令安装依赖
shell
npm install
3. 启动 Server
shell
npm run build // 编译`
npm run dev //webpack 监听,可以自动监听修改`
npm run serve //启动服务,可修改 package.json 对应命令来修改端口`
npm run test`
访问: http://localhost:8080
Weex 入门02 - 创建项目https://blog.sixlab.cn/posts/2017/0314/weex-02
赞赏博主
评论 隐私政策