File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
content/library/components Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -124,13 +124,15 @@ Clone the [component-template GitHub repo](https://github.com/streamlit/componen
124
124
# React template
125
125
cd template
126
126
. venv/bin/activate # or similar to activate the venv/conda environment where Streamlit is installed
127
+ pip install -e . # install template as editable package
127
128
streamlit run my_component/example.py # run the example
128
129
129
130
# or
130
131
131
132
# TypeScript-only template
132
133
cd template-reactless
133
134
. venv/bin/activate # or similar to activate the venv/conda environment where Streamlit is installed
135
+ pip install -e . # install template as editable package
134
136
streamlit run my_component/example.py # run the example
135
137
```
136
138
You can’t perform that action at this time.
0 commit comments