node.js - MDB via npm install - how do I structure the proje


Topic: node.js - MDB via npm install - how do I structure the project?

fabqb asked 7 years ago

Hello, I have the goal to place a node.js application using mdb as front end on ibm_cloud. I managed to get mdb onto my node.js boilermaker via npm install. now I see that all the mdb sits in the node_modules. Can I add the angular project in the node_modules? wouldn't it be overwritten if I perfrom another npm install? How do I create a public folder and then link my angular project to the mdb framework? Should I copy the mdb folder from node_module in the public folder and then let the server.js point to the public folder? Thanks for your insight.

Dawid Adach pro answered 7 years ago

Dear fabqb, You can integrate MDB in different ways. You can either download the source code (zip file) and embedded it into your project as a part of code, or install it via npm. Shouldn't, however, move files out of the node_modules folder and place them directly into the project. This is not the way to do that. Please follow our 5 min quick start to get more information about integrations: https://mdbootstrap.com/angular/5min-quickstart/  
Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No