fix sequence of yarn run commands

This commit is contained in:
Quinn Dougherty 2022-03-24 20:18:06 -04:00
parent 06376d661b
commit a1990ea3eb

View File

@ -2,21 +2,15 @@
This package contains all the components for squiggle. These can be used either as a library or hosted as a [storybook](https://storybook.js.org/). This package contains all the components for squiggle. These can be used either as a library or hosted as a [storybook](https://storybook.js.org/).
# Build for development # Build for development
We assume that you had run `yarn` at monorepo level, installing dependencies.
You need to _prepare_ by building and bundling `squiggle-lang` You need to _prepare_ by building and bundling `squiggle-lang`
``` sh ``` sh
cd ../squiggle-language cd ../squiggle-lang
yarn
yarn build yarn build
yarn bundle
``` ```
If you've otherwise done this recently you can skip those. If you've otherwise done this recently you can skip those.
Then, you can install dependencies
``` sh
cd packages/components
yarn
```
Run a development server Run a development server
``` sh ``` sh