gleam add wisp_routing@1
import wisp_routing
pub fn main() {
// TODO: An example of the project in use
}
Further documentation can be found at https://hexdocs.pm/wisp_routing.
Note
Before running the application you must install the JavaScript dependencies to have TaildwindCss
(NodeJs
is required). Run the following commands in the project folder:
`$ npm i # to install the dependencies`
`$ npm run watch-css # leave Tailwindcss running in watch mode`
`$ npm run build-css-prod # building minified CSS for production`
gleam run # Run the project
gleam test # Run the tests