I’m trying to deploy my Frontity theme on my employers already existing multisite. I have managed to get the links working by using a subdirectory in the Frontity theme’s settings however when I check in the network tab no links are getting prefetched and when a link is clicked the page does a refresh like normal WordPress sites.
I have deployed the site for testing in the following way.
ssh into a server running node v14.17.1. Cloned my Frontity repository, ran npm install, npx Frontity build and npx Frontity serve.
I get this warning.
asset size limit: The following asset(s) exceed the recommended size limit (488 KiB). This can impact web performance. Assets: frontity.es5.4e2069465430bc4c73fe.js (504 KiB) frontity-cy.es5.027ee26687fc9dd67984.js (504 KiB) entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (488 KiB). This can impact web performance. Entrypoints: frontity (504 KiB) frontity.es5.4e2069465430bc4c73fe.js frontity-cy (504 KiB) frontity-cy.es5.027ee26687fc9dd67984.js
I modified my HOSTS file on my local machine so I could test the theme.
Any help would be appreciated.