Giter Club home page Giter Club logo

admin-example's Introduction

[ WORK IN PROGRESS ] Admin Example

An example admin app that adds a menu button to the admin sidebar.

PREVIEW NOTICE ๐Ÿšง

We're working on the admin builder, which will allow you to define two files: admin/routes.json file with everything you need to create an admin interface (routes paths and components), and admin/navigation.json which alows your admin app to insert itself in the sidebar navigation. This is a temporary example!

How to develop admins

  1. Admins always declare routes in /admin/app/<route>

  2. Declare the admin builder in your manifest

  3. When installed, the user navigates to /admin/<route>, but your app runs in an iframe that points to /admin/app/<route>.

  4. You can develop directly in the /admin/app route for convenience, but don't forget to test it inside the iframe. :)

Quickstart

  1. Clone this repo

  2. yarn --cwd react/ for code completion

  3. vtex link

  4. Navigate to workspace--account.myvtex.com/admin/app/example

admin-example's People

Contributors

ohmyguigs avatar kaisermann avatar guifromrio avatar vwraposo avatar iaronaraujo avatar kevinch avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.