1.0.3 • Published 2 years ago

wx-page-template-js v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

微信小程序创建页面模板工具

使用方式

  • 安装 npm install wx-page-template-js -g
      1. 进入需要创建页面的目录
      1. page 页面名称,名称多个单词时使用下横线连接。如:page order_list

个性化配置(package.json)

/*
 * @Author: $author
 * @Date: $date
 * @Description:
 */
"pageTemplateConfig": {
    "author": "い 狂奔的蜗牛", // ts/js顶部注释$author
    "pageTitle": "页面标题", // 页面标题
    "pageTemplateDir": "/Users/snail/Desktop/test_template" // 自定义模板路径(wxml、wxss、json、ts/js所在目录),如果不指定,则使用自带模板
  }
1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago