This project is there to demonstrate the usage of Ruby on Rails +5.1 (with rails-ujs) and SweetAlert2.
Clone or download
Pull request Compare This branch is 7 commits behind master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
lib
log
public
tmp
vendor
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
package.json
yarn.lock

README.md

Rails +5.1 and SweetAlert2 example

This project is there to demonstrate the usage of Ruby on Rails +5.1 (with rails-ujs) and SweetAlert2.

Setup

$ git clone git@github.com:peterfication/rails-sweetalert.git
$ cd rails-sweetalert
$ bundle
$ yarn
$ rails s

TODO

  • Add a little bit of styling
  • Use Webpacker and imports