Wings were swept in the earliest prop version too..naturally.The first Messerschmitt 262 prototype made its first flight with straight wings, a piston engine and propeller in the nose, because jet engines were not ready. It also had a tail wheel.
When they installed jet engines, they had to sweep wings to balance the airplane, especially after the piston engine was removed from the nose.
Mounting jet engines well out on the wings just followed tradition, but they soon learned that mounting them closer to the fuselage vastly reduced yaw problems after one engine quit.
Tailwheel undercarriage proved problematic with jet engines. With the thrust line below the wings, they could not dip the nose to flatten angle of attack to accelerate during take-off. Test pilots resorted to tapping brakes to bring the nose level.
Messerschmitt engineers solved the problem by installing tricycle landing gear in later prototypes and all production Me 262s.
99 percent of later jets have tricycle landing gear.