微信小程序,二
创建项目:
hello.wxml
hello world 每个学习的开始
<view>hello world!</view>
hello.js
像 app.js 一样
Page({ })
hello.json
至少写一个空的配置项
{}
hello.wxss
然后在 app.json 文件内的 pages 函数中添加页面的地址,运行一下
(我!菜鸡!请指教!)
- 上一篇 »[微信小程序] 认识微信小程序及开发环境搭建
- 下一篇 »微信小程序 生成小程序码
创建项目:
hello.wxml
hello world 每个学习的开始
<view>hello world!</view>
hello.js
像 app.js 一样
Page({ })
hello.json
至少写一个空的配置项
{}
hello.wxss
然后在 app.json 文件内的 pages 函数中添加页面的地址,运行一下
(我!菜鸡!请指教!)