Skip to content

Update components-api.md #789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/library/components/components-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,14 @@ Clone the [component-template GitHub repo](https://github.com/streamlit/componen
# React template
cd template
. venv/bin/activate # or similar to activate the venv/conda environment where Streamlit is installed
streamlit run my_component/__init__.py # run the example
streamlit run my_component/example.py # run the example

# or

# TypeScript-only template
cd template-reactless
. venv/bin/activate # or similar to activate the venv/conda environment where Streamlit is installed
streamlit run my_component/__init__.py # run the example
streamlit run my_component/example.py # run the example
```

After running the steps above, you should see a Streamlit app in your browser that looks like this:
Expand Down