Lemoncode / simplechart

Simplechart seed
MIT License
12 stars 13 forks source link

Feature/37 use get initial props to be seo friendly #38

Closed nasdan closed 6 years ago

brauliodiez commented 6 years ago

Update just tried npm start instead of npm run start:dev and it worked is a bit strange, we should document this on readme. Styles are screwn up from time to time we can open a separate issue with this

Tried to run locally and got a black screen plus errors on console

index.js:370 undefined
undefined
_callee3$ @ index.js:370
warning.js:33 Warning: Expected server HTML to contain a matching <h1> in <div>.

Plus on server console

Only absolute URLs are supported

Tried to clean up node_modules and perform npm install again.

nasdan commented 6 years ago

About npm run start:dev and start:prod, the only reason I can imagine is that it's not loading env variables. We could try to replace foreman by dotenv or env-cmd to avoid this strange behaviour.

I will open two issues for this one and about styles. Thank you