Skip to main content
Glama

create_page

Generate Vue pages for M8 mobile development by describing requirements. Automatically loads specifications, produces code, and validates standards for forms, lists, details, or custom layouts.

Instructions

【推荐使用】一站式 M8 页面生成工具。自动完成:1.加载完整规范 2.生成代码 3.验证规范。用户只需描述页面需求即可,无需手动调用其他工具。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
module_nameYes模块名称(小写下划线格式,如 user_list、order_detail)
page_nameNo页面名称,默认 index
page_typeNo页面类型:form(表单)、list(列表)、detail(详情)、custom(自定义),默认 custom
vue_versionYesVue 版本,必填。请根据项目 package.json 中的 vue 依赖版本填写:2.x.x 填 '2',3.x.x 填 '3'
descriptionYes页面功能描述,如:用户登录页面、商品列表、订单详情等
requirementsNo具体需求描述,如:包含用户名密码输入框、支持下拉刷新分页、显示订单状态等
authorNo作者名称,默认 developer
componentsNo需要使用的组件列表,如 ['em-form', 'em-field', 'em-button']
skip_mockNo是否跳过生成 mock.js,默认 false

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lipeng9401222/m8-codex-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server