This project is there to demonstrate the usage of Ruby on Rails +5.1 (with rails-ujs) and SweetAlert2.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 9414d5a Dec 2, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
lib
log 🎉 Rails init Nov 29, 2017
public 🎉 Rails init Nov 29, 2017
tmp
vendor
.babelrc
.gitignore ⬆ Add webpacker gem Nov 30, 2017
.postcssrc.yml
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
package.json 🔨 Use Webpacker for Javascript packaging Dec 2, 2017
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.

Here are the direct links to the important Javascript files:

Setup

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

TODO

  • Add a little bit of styling