how to separate frontend and admin feature in spre

2019-08-22 17:59发布

问题:

I’m using latest spree 3.7.0. And Rails5.2 and Ruby 2.5.0. I’d like to know how to separate frontend and admin feature. Actually, I have another admin application. So I’d like to integrate spree admin into this.

After install rails new app, I entered below command.

rails g spree:install

Then the app automatically install whole app including frontend and admin. But if possible, I'd like to separate into two like frontend and admin. Give me advise, please.