Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

[Skip CI] fixed docs importmap command

Damian Legawiec4058e1886998
diff --git a/docs/developer/admin/custom-javascript.mdx b/docs/developer/admin/custom-javascript.mdx
index 9a006452fe..5db8c3209e 100644
--- a/docs/developer/admin/custom-javascript.mdx
+++ b/docs/developer/admin/custom-javascript.mdx
@@ -40,7 +40,7 @@ If you want to use a different JavaScript package manager you can do so by using
To install dependencies you need to run the following command:
```bash
-bin/rails importmap pin react
+bin/importmap pin react
```
This will install the dependencies, download the files to your `vendor/javascript` directory and add them to your `config/importmap.rb` file, eg.
diff --git a/docs/developer/storefront/custom-javascript.mdx b/docs/developer/storefront/custom-javascript.mdx
index dbe7e4081d..e04a6656f3 100644
--- a/docs/developer/storefront/custom-javascript.mdx
+++ b/docs/developer/storefront/custom-javascript.mdx
@@ -40,7 +40,7 @@ If you want to use a different JavaScript package manager you can do so by using
To install dependencies you need to run the following command:
```bash
-bin/rails importmap pin react
+bin/importmap pin react
```
This will install the dependencies, download the files to your `vendor/javascript` directory and add them to your `config/importmap.rb` file, eg.