All Projects → cantonjs → Create Wxapp Page

cantonjs / Create Wxapp Page

Licence: mit
创建微信小程序页面的命令行工具

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Create Wxapp Page

Cgx
💻🔥CLI to generate the recommended documentation/files to improve contribution (Github, Gitlab, CodeCommit and Bitbucket)
Stars: ✭ 190 (+413.51%)
Mutual labels:  cli, template
Swaggen
OpenAPI/Swagger 3.0 Parser and Swift code generator
Stars: ✭ 385 (+940.54%)
Mutual labels:  cli, template
Scaffdog
🐶 scaffdog is Markdown driven scaffolding tool.
Stars: ✭ 237 (+540.54%)
Mutual labels:  cli, template
Boilr
⚡️ boilerplate template manager that generates files or directories from template repositories
Stars: ✭ 1,268 (+3327.03%)
Mutual labels:  cli, template
Arkit
JavaScript architecture diagrams and dependency graphs
Stars: ✭ 671 (+1713.51%)
Mutual labels:  cli, component
Gomplate
A flexible commandline tool for template rendering. Supports lots of local and remote datasources.
Stars: ✭ 1,270 (+3332.43%)
Mutual labels:  cli, template
Wxapp Boilerplate
使用 webpack, babel, scss 开发的微信/支付宝小程序项目脚手架
Stars: ✭ 367 (+891.89%)
Mutual labels:  mini-program, wxapp
Dva Wxapp
微信小程序的dva集成
Stars: ✭ 183 (+394.59%)
Mutual labels:  mini-program, wxapp
Wux Weapp
🐶 一套组件化、可复用、易扩展的微信小程序 UI 组件库
Stars: ✭ 4,706 (+12618.92%)
Mutual labels:  mini-program, wxapp
Create React Library
⚡CLI for creating reusable react libraries.
Stars: ✭ 4,554 (+12208.11%)
Mutual labels:  cli, component
Console
The Console component eases the creation of beautiful and testable command line interfaces.
Stars: ✭ 8,988 (+24191.89%)
Mutual labels:  cli, component
Weapp Fontawesome Component
微信小程序的 fa 图标模块
Stars: ✭ 21 (-43.24%)
Mutual labels:  wxapp, component
Annar
优雅、简洁的 Remax 组件库
Stars: ✭ 203 (+448.65%)
Mutual labels:  mini-program, component
Template
A super-simple way to create new projects based on templates.
Stars: ✭ 120 (+224.32%)
Mutual labels:  cli, template
Wxapp Webpack Plugin
📦 微信小程序 webpack 插件
Stars: ✭ 185 (+400%)
Mutual labels:  mini-program, wxapp
Extension Create
Create modern cross-browser extensions with no build configuration.
Stars: ✭ 167 (+351.35%)
Mutual labels:  cli, template
Weapp
🐧 微信小程序组件和功能封装,基于微信Component自定义组件开发
Stars: ✭ 235 (+535.14%)
Mutual labels:  wxapp, component
Wxapp
这是一个Sublime的插件, 用来开发<微信小程序>.
Stars: ✭ 42 (+13.51%)
Mutual labels:  mini-program, wxapp
Sppagemenu
分页菜单,功能非常齐全,满足绝大多数APP,简书地址:
Stars: ✭ 402 (+986.49%)
Mutual labels:  component, page
Mrm
Codemods for your project config files
Stars: ✭ 900 (+2332.43%)
Mutual labels:  cli, template

create-wxapp-page

Build Status

功能

  • 自动化生成微信小程序页面,样式支持自定义
  • 自动更新app.json,添加生成页面
  • [NEW]自动化生成微信小程序组件,样式支持自定义
  • [NEW]支持自定义模板

安装

$ yarn add create-wxapp-page

用法

查看帮助

$ create-wxapp-page --help

创建页面

示例一

(使用yes模式,没有配置的内容使用默认值进行配置)

$ create-wxapp-page --name test --indent 2 --yes

示例二

(不使用yes模式,没有配置的内容,需要通过回答问题,进行配置)

$ create-wxapp-page --name test
#回答问题
#自动生成...

参数

  • dir: 文件路径
  • name: page的名称,支持带相对/绝对路径(/path/my-page, path/my-page, your/path/, my-page)
  • type: 创建的页面类型,page,component可选,默认page
  • style: 样式文件后缀名,支持 less, scss, wxss 或自定义
  • json: 是否需要生成配置文件
  • indent: 缩进的方式,默认tab,支持数字
  • yes: 使用默认值生成相关文件
  • help: 查看帮助

重置模板

$ create-wxapp-page reset

查看模板位置

$ create-wxapp-page dir

打开模板目录

$ create-wxapp-page open

自定义模版

  1. 通过 create-wxapp-page open 命令打开模版目录
  2. 编辑并替换默认模版
  3. 完成

Tips 若需要重置使用默认模版,可以执行 create-wxapp-page reset 命令

更新日志

Changelog

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].