Import the engine in your main JavaScript file and define which URL paths the engine should manage. To stop the engine from running your main application code again every time a new page loads, you ...