Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Reactmdb on static server

Pak Yin Wong free asked 6 years ago


I would like to build the react mdb in static server.

However, I don't know how to pack the files.

I tried 

npm run build

and also

server -s build

Neither of them gives me the build folder or index.html.

I tried to use the files in dist folder but it fails.

Could anyone help me please?


Anna Morawska staff commented 6 years ago

Hi there,

do you use create-react-app setup? Are there any errors in the console? 

 



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.8.4
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No
Tags