You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/content/docs/5.3/getting-started/download.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,17 @@ Install Bootstrap in your Node.js powered apps with [the yarn package](https://y
100
100
yarn add bootstrap@{{< param "current_version">}}
101
101
```
102
102
103
+
{{< callout warning >}}
104
+
**Yarn 2+ (aka Yarn Berry) doesn't support the `node_modules` directory by default**: using our [Sass & JS example](https://github.com/twbs/examples/tree/main/sass-js) needs some adjustments:
105
+
106
+
```sh
107
+
yarn config set nodeLinker node-modules # Use the node_modules linker
108
+
touch yarn.lock # Create an empty yarn.lock file
109
+
yarn install # Install the dependencies
110
+
yarn start # Start the project
111
+
```
112
+
{{< /callout >}}
113
+
103
114
### RubyGems
104
115
105
116
Install Bootstrap in your Ruby apps using [Bundler](https://bundler.io/) (**recommended**) and [RubyGems](https://rubygems.org/) by adding the following line to your [`Gemfile`](https://bundler.io/guides/gemfile.html):
0 commit comments