Skip to content

Commit bd8e8a3

Browse files
Update components-api.md (#793)
1 parent 81fbcca commit bd8e8a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/library/components/components-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,15 @@ Clone the [component-template GitHub repo](https://github.com/streamlit/componen
124124
# React template
125125
cd template
126126
. venv/bin/activate # or similar to activate the venv/conda environment where Streamlit is installed
127+
pip install -e . # install template as editable package
127128
streamlit run my_component/example.py # run the example
128129

129130
# or
130131

131132
# TypeScript-only template
132133
cd template-reactless
133134
. venv/bin/activate # or similar to activate the venv/conda environment where Streamlit is installed
135+
pip install -e . # install template as editable package
134136
streamlit run my_component/example.py # run the example
135137
```
136138

0 commit comments

Comments
 (0)