I am now using the cli CRUD function to add my controllers and routes and noticed that two entries are being created in the index.html.
Here is the info from the CRUD creation:
C:\WorkshopManager>basel-crud workshop
? What is the database table? workshop
? What is the route way? workshop
Connected in database
Creating view...
Route renamed for workshop_1
View created!
Creating controller...
Controller created!
CRUD created!
And here is what is now in the index.html
<script src="app.js"></script>
<!-- Controllers -->
<script src="controllers/mainController.js"></script><script src="controllers/workshopController.js"></script>
<script src="controllers/addressController.js"></script>
<script src="controllers/workshopController.js"></script>
I am now using the cli CRUD function to add my controllers and routes and noticed that two entries are being created in the index.html.
Here is the info from the CRUD creation:
And here is what is now in the index.html