DrupalX Static
Last updated
Last updated
The Drupal Tome module enables the export of DrupalX sites to static files. Detailed instructions can be found on the .
Follow these steps to set it up DrupalX with Tome:
Add Tome to Composer
Add the latest development version of Tome (compatible with Drush 12) to your project:
Enable the Tome Static Module
Enable the Tome static module using Drush:
Export the Site Using Drush
Export your site to static files:
Navigate to the HTML Directory
Change to the /html
directory:
Deploy to Netlify
Deploy the static site to Netlify. For optimal results, set the process count and path count to 1. This avoids issues with the active menu link not appearing correctly:
Configure URLs on Netlify
Turn off pretty URLs in Netlify under the "Build & Deploy" configuration. This prevents Netlify from adding a trailing '/' character to URLs.
By following these steps, you can effectively export your DrupalX site to static files and deploy them to Netlify, ensuring a fast and reliable static site experience.