Changes
- Fix deprecator usage in
rake js:routes:typescript
#327 - Migrate to yarn 4
- Deprecated
prefix
option in favor ofdefault_url_options.script_name
. - Add support for
script_name
Rails helper option.
Routes.post_path(1, { script_name: "/myapp" })
// => /myapp/post/1
Routes.configure({
default_url_options: { script_name: "/myapp" }
})
Routes.post_path(1) // => /myapp/post/1