JSPM

  • Created
  • Published
  • Downloads 179
  • Score
    100M100P100Q95161F
  • License MIT

Schema for uni-app pages.json

Package Exports

  • @uni-helper/pages-json-schema/schema.json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@uni-helper/pages-json-schema) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@uni-helper/pages-json-schema

为 uni-app 的 pages.json 提供 schema

安装

pnpm add @uni-helper/pages-json-schema

用法

import PagesSchema from '@uni-helper/pages-json-schema'

console.log(PagesSchema)

// {
//   "$ref": "#/definitions/PagesConfig",
//   "$schema": "http://json-schema.org/draft-07/schema#",
//   "definitions": {...}
// }