just-jeb / wix-tpa-widget-template

A template repo for Wix TPA Dashboard Widget

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wix TPA Dashboard Widget template

This is a template repository for a Wix Dashboard widget provided a Wix Third Party Application.

image

Development

The widget is developed using React, Stylable and Wix Style React component library.

To run it locally use npm start.

Wix Dashboard SDK

The widget should be hosted on a 3rd party app server and is rendered within Wix Back Office host. In order to communicate with the host the widget uses @wix/dashboard-sdk NPM package.

  • observeState allows the widget to access the props passed by the host (such as onLoaded)
  • navigate allows to navigate within the Wix Dashboard using page ID. In order to navigate to your TPA Dashboard page you need to know its ID.

About

A template repo for Wix TPA Dashboard Widget


Languages

Language:TypeScript 64.9%Language:JavaScript 19.1%Language:CSS 12.0%Language:HTML 4.0%