微信小程序,二

创建项目:

  hello.wxml

    hello world 每个学习的开始

<view>hello world!</view>

  hello.js

    像 app.js 一样

Page({

})

  hello.json

  至少写一个空的配置项

{}

  hello.wxss

 然后在 app.json 文件内的 pages 函数中添加页面的地址,运行一下

(我!菜鸡!请指教!)