agentejo / cockpit

Add content management functionality to any site - plug & play / headless / api-first CMS
http://getcockpit.com
MIT License
5.4k stars 523 forks source link

How to make the multi-level classification? #1083

Open cdwmhcc opened 5 years ago

cdwmhcc commented 5 years ago

pic

How to make the multi-level classification in the above picture?

pic

How to dynamically get data through the server when switching tabs, without exposing apikey?

Use NUXT.js

sa7bi commented 5 years ago

You could have a field named category and another field name subcategory with the type repeater for your subcategories. If you don't want to expose your apikey, go to your collection > permissions > public: view entries