Skip to content

Commit 2dae576

Browse files
Update components-api.md to reflect Vite changes (#1307)
We migrated the build system from Webpack to Vite in https://github.com/streamlit/component-template This updates the published docs to reflect this change.
1 parent 35a3763 commit 2dae576

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/develop/concepts/custom-components/components-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,14 @@ Clone the [component-template GitHub repo](https://github.com/streamlit/componen
104104
# React template
105105
template/my_component/frontend
106106
npm install # Initialize the project and install npm dependencies
107-
npm run start # Start the Webpack dev server
107+
npm run start # Start the Vite dev server
108108

109109
# or
110110

111111
# TypeScript-only template
112112
template-reactless/my_component/frontend
113113
npm install # Initialize the project and install npm dependencies
114-
npm run start # Start the Webpack dev server
114+
npm run start # Start the Vite dev server
115115
```
116116

117117
2. _From a separate terminal_, run the Streamlit app (Python) that declares and uses the component:

0 commit comments

Comments
 (0)