This package has been deprecated

Author message:

All packages in the @keystone-alpha namespace are now available in the @keystonejs namespace, starting at version 5.0.0. To upgrade, update package.json to point to "@keystonejs/app-admin-ui": "^5.0.0" and update any require/import statements in your code.

@keystone-alpha/app-admin-ui

5.10.3 • Public • Published

KeystoneJS Admin UI App

A KeystoneJS App which provides an Admin UI for content management.

Usage

const { Keystone } = require('@keystone-alpha/keystone');
const { GraphQLApp } = require('@keystone-alpha/app-graphql');
const { AdminUIApp } = require('@keystone-alpha/app-admin-ui');

const authStrategy = keystone.createAuthStrategy({ ... });

...

module.exports = {
  new Keystone(),
  apps: [
    new GraphQLApp(),
    new AdminUIApp({
        adminPath: '/admin',
        authStrategy,
    }),
  ],
};

Config

Option Type Default Required Description
adminPath String /admin false The path of the Admin UI.
apiPath String /admin/api false The path of the API provided to the Admin UI.
graphiqlPath String /admin/api false The path of the graphiql app, an in-browser IDE for exploring GraphQL.
authStrategy Object null false See Authentication Guides
pages Array null false
enableDefaultRoute Bool false false If enabled, the path of the Admin UI app will be set to /.
schemaName String public false

Readme

Keywords

none

Package Sidebar

Install

npm i @keystone-alpha/app-admin-ui

Weekly Downloads

15

Version

5.10.3

License

MIT

Unpacked Size

274 kB

Total Files

66

Last publish

Collaborators

  • emmatown
  • jedwatson
  • molomby