ml-archive/bootstrap-actions
This package wraps Bootstrap elements into convenient Leaf-Tags.
Getting started π
First import Bootstrap and Leaf inside your configure.swift
import Bootstrap
import LeafAdding the Leaf tags
In order to render the Bootstrap elements, you will need to add the Bootstrap Leaf tags:
public func configure(_ config: inout Config, _ env: inout Environment, _ services: inout Services) throws {
services.register { _ -> LeafTagConfig in
var tags = LeafTagConfig.default()
tags.useBootstrapLeafTags()
return tags
}
}π Credits
This package is developed and maintained by the Vapor team at Nodes. The package owner for this project is Martin.
π License
This package is open-sourced software licensed under the MIT license
Docs
Package Metadata
Repository: ml-archive/bootstrap-actions
Default branch: master
README: README.md