Skip to content

Commit

Permalink
Update publish-component.md (#1031)
Browse files Browse the repository at this point in the history
The "export" script no longer exists, it has been replaced by build. The documentation for publish a component still has the old version.
  • Loading branch information
balexandermunoz authored May 14, 2024
1 parent 7ec1ab7 commit 50bb1a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The [component-template](https://github.com/streamlit/component-template) GitHub

```bash
cd frontend
npm run export
npm run build
```

5. Pass the build folder's path as the `path` parameter to `declare_component`. (If you're using the template Python file, you can set `_RELEASE = True` at the top of the file):
Expand Down

0 comments on commit 50bb1a7

Please sign in to comment.