📜  rails + vue js projcet 演示 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:37.542000             🧑  作者: Mango

代码示例1
Rails.application.routes.draw do

  namespace :api do
    resources :dashboard, only: [:index]
  end

  root :to => "application#index"
  match "*path", to: "application#index", format: false, via: :get

end