If using plasmic sync, does project need to switch from loader to codegen?

If I use plasmic sync, does that mean my project needs to change from plasmic loader to codegen?

My plasmic sync use case is:

  1. Export a plasmic design component (to use as a template
  2. Importing it into a code component (and populate with data),
  3. Register that code component (for use again in plasmic)
    In saying that, the Headless API docs says:
    “As part of the development server, the Plasmic loader plugin will automatically watch for and sync your Plasmic components into your development environment. This usually hapens in background and you don’t have to worry about it.”

Yet I get this error message vis code button:


that’s right; you should pick either loader or codegen but not both