Reader small image

You're reading from  Full Stack Web Development with Remix

Product typeBook
Published inNov 2023
Reading LevelIntermediate
PublisherPackt
ISBN-139781801075299
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Andre Landgraf
Andre Landgraf
author image
Andre Landgraf

Andre is a full stack developer from Germany. He graduated with an MS in Information Systems from the Technical University of Munich and was also awarded an MS in Computer Science from Sofia University in Palo Alto. Andre currently lives in Cupertino, California, and he works as a Software Engineer at LinkedIn. Andre loves learning, writing, and speaking about all things web. In his free time, he tutors aspiring developers and builds for the web.
Read more about Andre Landgraf

Right arrow

Switching between adapters

We sometimes have to migrate from one template to another one. To do so, we must switch our Remix app’s setup. In this chapter, we will walk through the process of switching templates and adapters.

The process of switching between templates and adapters can be summarized as follows:

  1. Locate your Remix project and open it in an editor or file explorer.
  2. Create a new Remix project using the new template and adapter.
  3. Open the new Remix project side by side with your old project.
  4. Rename the app folder in the new project to temp. Move the app folder from your old project to the new project.
  5. Replace the code in app/entry.client.tsx with the code in temp/entry.client.tsx and integrate any custom code previously added to the file.
  6. Replace the code in app/entry.server.tsx with the code in temp/entry.server.tsx and integrate any custom code previously added to the file.
  7. For every Remix-specific file and folder in the root of...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Full Stack Web Development with Remix
Published in: Nov 2023Publisher: PacktISBN-13: 9781801075299

Author (1)

author image
Andre Landgraf

Andre is a full stack developer from Germany. He graduated with an MS in Information Systems from the Technical University of Munich and was also awarded an MS in Computer Science from Sofia University in Palo Alto. Andre currently lives in Cupertino, California, and he works as a Software Engineer at LinkedIn. Andre loves learning, writing, and speaking about all things web. In his free time, he tutors aspiring developers and builds for the web.
Read more about Andre Landgraf