mirror of
https://github.com/apache/superset.git
synced 2024-09-20 04:29:47 -04:00
859 B
859 B
Debug Superset plugins in Superset app
Activate plugins for local development
-
First, make sure you have run
yarn
andyarn build
insuperset-ui
or your own plugin repo. -
Go to sueprset-frontend, use
npm link
to create a symlink of the plugin source code innode_modules
:cd incubator-superset/superset-frontend # npm link ~/path/to/your/plugin npm link ../../superset-ui/plugins/plugin-chart-word-cloud
-
Start developing with webpack dev server:
npm run dev-server
The dev server will automatically build from the source code under
path/to/your-plugin/src
and watch the changes.
Deactivate plugins
To deactivate a plugin, simply run npm install
in incubator-superset/superset-frontend
again.