📁 Static Files

To load static files (JS, CSS, etc.), you can use the mount() method. The default parameters are:
path: str = '/public', directory: str = 'public', name: str='public'

Static

 
from lila.core.routing import Router
# Creating an instance of the Router
router = Router()
# Mounting the static files in the 'public' folder, with URL '/public' by default
router.mount()