Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

rails + vue js projcet demo

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
Source by www.guillaume-barillot.com #
 
PREVIOUS NEXT
Tagged: #rails #vue #js #projcet #demo
ADD COMMENT
Topic
Name
9+2 =