Commit Graph

2 Commits

Author SHA1 Message Date
Thomas Klemm
688802b792 Fix Rails Integration docs: Missing module export statement (#263)
Thanks for this great library @claviska! 

Tried adding Shoelace to a Rails app w/ the current guide. When starting the Webpack Dev Server, the following error gets thrown:

```
.../RailsApplication/config/webpack/development.js:5
module.exports = environment.toWebpackConfig()
```
Adding `module.exports = environment` as done [here in the example repo](4114da0e14/config/webpack/environment.js (L20)) fixes the issue and allows Webpack to compile.
2020-11-05 08:14:25 -05:00
Cory LaViska
e3450fd759 Add integrating with rails to tutorials section 2020-10-08 08:55:50 -04:00