Changed to resource pathing to the public folder, allowing import of css and image files in addition to js