Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Merge branch '20-package-repo' into 23-relative-links
Browse files Browse the repository at this point in the history
  • Loading branch information
Parasrah committed Feb 17, 2020
2 parents 821120e + febcd3b commit ae8618d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Using yarn:

This readme only covers the most common setup for Elm + React web projects. If your needs deviate from this, you should find the information you need on [the Elm website](https://elm-lang.org/).

> Regardless of which method you choose, please visit the [Assets](#assets) section of the readme to ensure you are only bundling a single Elm runtime in your application.
> Regardless of which method you choose, please visit the [Assets](README.md/#assets) section of the readme to ensure you are only bundling a single Elm runtime in your application.
Adding Elm to your existing webpack configuration is fairly easy through the use of [elm-webpack-loader](https://github.com/elm-community/elm-webpack-loader), which has instructions to set it up [here](https://github.com/elm-community/elm-webpack-loader#elm-loader---). After you've set this up, you should be able to import Elm modules as seen in the [description](#description) above.
Adding Elm to your existing webpack configuration is fairly easy through the use of [elm-webpack-loader](https://github.com/elm-community/elm-webpack-loader), which has instructions to set it up [here](https://github.com/elm-community/elm-webpack-loader#elm-loader---). After you've set this up, you should be able to import Elm modules as seen below.

If instead you are using Create React App (which significantly limits configurability), you can visit [the CRA example](example#example) in this repo which should guide you through that process.

Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
"peerDependencies": {
"react": ">=16"
},
"repository": {
"type": "git",
"url": "https://github.com/Parasrah/elm-react-component.git"
},
"author": "parasrah",
"module": "dist/react-elm-component.esm.js",
"devDependencies": {
Expand Down

0 comments on commit ae8618d

Please sign in to comment.