sketchily:在 Rails HTML 表单中嵌入 SVG-edit

时间:2021-06-28 20:45:03
【文件属性】:
文件名称:sketchily:在 Rails HTML 表单中嵌入 SVG-edit
文件大小:1.09MB
文件格式:ZIP
更新时间:2021-06-28 20:45:03
Ruby 粗略地 Sketchily 允许将与任何 Rails 应用程序轻松集成。 目前支持并提供svg-edit-2.7 。 安装 将此行添加到应用程序的 Gemfile 中: gem 'sketchily' 然后执行: $ bundle 或者自己安装: $ gem install sketchily 将//= require sketchily地添加到您的application.js 。 它应该类似于: //= require jquery //= require jquery_ujs //= require sketchily 注意: sketchily 会自动将以下文件添加到您的资产预编译列表中: sketchily.js svg-edit/canvg/canvg.js svg-edit/canvg/rgbcolor.js svg-edit/extensions/e

网友评论