Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vbop9834/elm-bootstrapify
A collection of functions to use the bootstrap theme in elm html
https://github.com/vbop9834/elm-bootstrapify
bootstrap elm elm-bootstrapify elm-html
Last synced: 1 day ago
JSON representation
A collection of functions to use the bootstrap theme in elm html
- Host: GitHub
- URL: https://github.com/vbop9834/elm-bootstrapify
- Owner: vbop9834
- License: bsd-3-clause
- Created: 2016-07-22T15:14:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-24T16:31:15.000Z (about 6 years ago)
- Last Synced: 2024-10-30T01:38:18.720Z (about 2 months ago)
- Topics: bootstrap, elm, elm-bootstrapify, elm-html
- Language: Elm
- Homepage: http://package.elm-lang.org/packages/JeremyBellows/elm-bootstrapify/latest/
- Size: 39.1 KB
- Stars: 9
- Watchers: 4
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# elm-bootstrapify
Supports Bootstrap 3 and Elm 0.19
## Compatibility
Version 9.0.1 of elm-bootstrapify has not been tested with versions < Elm 0.19. If you have issues please open an issue on Github. If things are going smoothly with backwards compatibility, please open an issue with your versions and experience so I can update the Readme. Thank you!
### Previous Versions are available
elm-bootstrapify <= 9.0.0 is compatible with previous version of elm. Please check the commit history for the corresponding versions.
## Purpose
Elm-bootstrapify aims to elminate bootstrap styling rendering errors using precise type safety techniques.
## Installation
In the project directory type```
elm package install JeremyBellows/elm-bootstrapify
```## Example
```
module ExampleView exposing (..)import Bootstrap.Grid exposing (..)
import Bootstrap.Wells exposing (..)import Html
let view =
containerFluid
[
row
[
column [ ExtraSmall Two, Small Two, Medium Four, Large Four ] [],
column [ ExtraSmall Ten, Small Ten, Medium Eight, Large Eight ]
[
well WellLarge []
[
Html.h1 []
[
Html.text "Hello World!"
]
]
]
]
]
```
## Updating
### Disclaimer
This library is still in development so the types and names of functions may change. Always be sure to perform a diff before upgrading!
### Process
Before updating, it is recommended to perform a diff of the version you are attempting to merge and the version that is depended on.Navigate to root directory of your project and type
```
elm-package diff JeremyBellows/elm-bootstrapify 2.0.1 9.0.1
```Be sure to replace 2.0.1 with the version of elm-bootstrapify that is depended on.
Replace 9.0.1 with the version of elm-bootstrapify that you want to use.If the diff is desirable, then change the version number of elm-bootrapify in `elm-package.json`.
It should look like
```
"JeremyBellows/elm-bootstrapify": "9.0.0 <= v < 10.0.0",
```Execute the following command
```
elm package install JeremyBellows/elm-bootstrapify
```[For further reading, click here to be taken to the elm-package documentation.](https://github.com/elm-lang/elm-package#updating-dependencies)