Season the flour with salt and pepper. Coat beef with the flour.
Add oil to Dutch oven and heat on medium-high. Brown meat on all sides and set aside. You may need to do this in batches.
Add carrots, potatoes, and garlic to Dutch oven. If using fresh onions, add those as well. Cook on medium-high heat for 5 minutes, stirring occasionally.
Add meat, tomatoes, basil, bay leaves, beef stock, and 1 cup of wine.
Cover and simmer on the stove for 1 hour.
Add remaining 1 cup of wine. Simmer for 3 more hours, covered.
Remove bay leaves. Add frozen peas and frozen onions (if using). Add salt and pepper to taste.