Using Dropbox to sync local dev folders

I generally use two computers and want to have a shared development folder so I can pick up working whether I’m at home or in the office. I had been using iCloud by adding a folder through the ‘httpd-vhosts.conf’ file - but iCloud has been really patchy and I’ve had instances of projects getting out of sync. So I looked at using Dropbox with a symlink from my Sites folder. Setting it up was really easy, and the websites popped up immediately - but as soon as I click on a link I get a 404 not found error. The files are all there, but I can’t seem to get to them.

So I tried a different method and added the path to the dev folder on Dropbox as a virtual host - with exactly the same result. Can anybody through any light on this?

Method one:
Move the project folder to dropbox then make a symlink from the ~/Sites folder on my machine(s).

MiniDanno:Sites daniel$ ln -s ~/Dropbox/dev/invitationtotuscany invitationtotuscany

Method two
Still based on moving project folder into Dropbox, but then modifying httpd-vhost.conf

<VirtualHost *:80>
    DocumentRoot "/Users/daniel/Dropbox/dev"
    <Directory "/Users/daniel/Dropbox/dev">
	   AllowOverride None
	   Options Indexes MultiViews FollowSymLinks
	   Require all granted
    ErrorLog "/opt/homebrew/var/log/httpd/"
    CustomLog "/opt/homebrew/var/log/httpd/" common

Both give the same error - the homepage appears but all internal links give 404 not Found Error (The Apache one, not the Grav one)

Have since found this article: Symlinks finally supported properly by Dropbox (at the expense of handy support for external symlinks)

I tried this approach too and changed my DocumentRoot in httpd.conf

DocumentRoot "/Users/daniel/Dropbox/Dev"
<Directory "/Users/daniel/Dropbox/Dev">

I get exactly the same results. And, BTW, I have been changing the text so I can be sure of which folder I’m pointing at…

still lost.

I re-installed grav and moved the content into the new installation folder and now it works. ?

No solution but at least I can work again now.