NYPL / dgx-header-component

2 stars 0 forks source link

Make it clear that the app needs to declare `appEnv` #64

Open EdwinGuzman opened 5 years ago

EdwinGuzman commented 5 years ago

The readme should include information regarding declaring and setting up the appEnv variable or else search won't work (see image below). Typically, the variable is declared in webpack and users should know for any new apps created or create a fallback in the SearchBox component.

CC @LucasCioffi

screen shot 2018-12-14 at 1 18 53 pm

LucasCioffi commented 5 years ago

Thanks @EdwinGuzman. I want to ask you on Monday if these defaults in webpack.config.js didn't work when you ran it locally.

screen shot 2018-12-15 at 7 11 52 am