微信小程序(二)

创建项目:

  hello.wxml

    hello world 每个学习的开始

<view>hello world!</view>

  hello.js

    像 app.js 一样

Page({

})

  hello.json

  至少写一个空的配置项

{}

 

  hello.wxss

 

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

(我!菜鸡!请指教!)

posted @ 2018-10-26 15:11  SilentKiller  阅读(107)  评论(0)    收藏  举报