superset/superset-frontend/temporary_superset_ui/superset-ui/docs/debugging.md
Jesse Yang 415ce5efd8 refactor: merge core superset-ui packages (#768)
1. move translation, connection, query to core (#729)
2. update encodable to remove formatter inter-dependency (#744)
3. move number-format and time-format to core (#730)
4. move superset-ui/dimension to core (#732)
5. move superset-ui/color to core (#755)
6. move superset-ui/style to core (#756)
7. move superset-ui/validator to core (#757)
8. move superset-ui/chart-composition to core (#759)
9. move superset-ui/chart to core (#760)
2021-11-26 11:46:38 +08:00

864 B

Debug Superset plugins in Superset app

Activate plugins for local development

  1. First, make sure you have run yarn and yarn build in superset-ui or your own plugin repo.

  2. Go to superset-frontend, use npm link to create a symlink of the plugin source code in node_modules:

    cd incubator-superset/superset-frontend
    # npm link ~/path/to/your/plugin
    npm link ../../superset-ui/plugins/plugin-chart-word-cloud
    
  3. 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.