rafaelhz / react-material-admin-template

A simple responsive admin template using react and material-ui
633 stars 269 forks source link

Distribution build #9

Open priyesh9875 opened 7 years ago

priyesh9875 commented 7 years ago

How to bundle everything for distribution(to be run without server).

rafaelhz commented 7 years ago

npm run build

this template is made using the react-slingshot starter-kit: https://github.com/coryhouse/react-slingshot

you can get more information there.

priyesh9875 commented 7 years ago

It works, but requires a server. I need standalone distribution build. When I try to directly open index.html from dist folder, I get black screen. No console errors, div with id app is empty.