Skip to content

Commit

Permalink
Update configuration.md
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 authored Dec 6, 2024
1 parent cebda5d commit 70523e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Here is the full set of config options. This file is `/config/initializers/react

First, you should have a `/config/shakapacker.yml` setup.

Here is the setup when using the recommended `/client` directory for your `node_modules` and source files:
Here is the setup when using the recommended `/` directory for your `node_modules` and source files:

```yaml
# Note: Base output directory of /public is assumed for static files
Expand Down Expand Up @@ -69,7 +69,7 @@ ReactOnRails.configure do |config|
config.random_dom_id = true # default

# defaults to "" (top level)
config.node_modules_location = "client" # If using Shakapacker you should use "".
config.node_modules_location = "" # If using Shakapacker you should use "".

# If you're using the standard Shakapacker configuration of webpack, then Shakapacker
# will automatically modify or create an assets:precompile task to build your assets. If so,
Expand Down

0 comments on commit 70523e2

Please sign in to comment.