mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
* refactor: replace yarn with npm * revert npm requirement back to 14 for vercel * disable build Storybook job * fix linting errors * update lock file * rebase master and bump encodable/color to 1.1.1 * update package-lock.json update lock file * change node version format to satisfy vercel * remove restriction on @encodable/color * rename yarn.lock to package-lock.json * add resolved in lock file and restriction on @encodable/color * install dependences by npm ci Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
834 B
834 B
Debug Superset plugins in Superset app
Activate plugins for local development
-
First, make sure you have run
npm ci
andnpm run build
insuperset-ui
or your own plugin repo. -
Go to superset-frontend, use
npm link
to create a symlink of the plugin source code innode_modules
:cd 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 ci
in superset/superset-frontend
again.