- Book-styled UI with parchment aesthetic and Russian navigation - Characters model with Konva.js 2D canvas drawing (draggable shapes) - StoryPages model with character association and page navigation - Stimulus controllers: canvas (editor) + canvas-preview (read-only) - Full Russian interface: all labels, buttons, flash messages in Russian
11 lines
363 B
Ruby
11 lines
363 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Pin npm packages by running ./bin/importmap
|
|
|
|
pin "application"
|
|
pin "konva", to: "https://esm.sh/konva@9.3.20"
|
|
pin "@hotwired/stimulus", to: "stimulus.min.js"
|
|
pin "@hotwired/stimulus-loading", to: "stimulus-loading.js"
|
|
pin_all_from "app/javascript/controllers", under: "controllers"
|
|
pin "@hotwired/turbo-rails", to: "turbo.min.js"
|