create-weapp-page
v0.0.1
Published
Auto generate wechat weapp page
Downloads
2
Readme
generate-weapp-page
Auto generate wechat weapp page
Install
$ npm install generate-weapp-page --save
Usage
const generatePage = require('generate-weapp-page')
const files = generatePage({
name: 'index',
json: false,
less: true,
scss: false,
css: false
})
console.log(files)
Node.js API
generatePage(options, callback)
options
Type: Object
options.
return files
Type: Array
or Boolean
Generated files or exists