Skip to content

Installation

This page will walk you through the quick and easy installation of
actionview-svelte-handler.

To learn more about building with Svelte, visit svelte.dev.

Requirements

  • Node.js >= 12.16.0
  • NPM
  • Ruby on Rails

WARNING

This gem has only been tested with Rails 7 and Ruby 3, but it may work on older versions.

Steps

  1. Add the actionview-svelte-handler gem to your Gemfile by executing:
bash
  bundle add actionview-svelte-handler
  1. Then execute the generator:
bash
  bin/rails generate svelte:install
  1. Enjoy!