I'm working on two stories right now that originated in dreams. The first dream was extremely vivid and detailed, and I wrote out a sketch of it the next day. The story retains some elements of the dream, but has gone its own way. The first dream was vaguer, but I remembered one line that will remain the last sentence in the short story.
Dreams that seem like good story fodder go immediately into my master Plot Bunny list, along with ideas garnered from reading, newspapers and magazines, TV and radio, observations, conversations, meditations, etc.
Prior to Stephenie Meyers, perhaps the most famous dream-inspired piece was Coleridge's "Kubla Khan": "In Xanadu did Kubla Khan a stately pleasure dome decree..." Coleridge asserted that this poem came to him in an opium-induced dream, but he may have worked on it over many years, and a famous work of literary criticism (The Road to Xanadu, John Livingston Lowes) explores sources for many of the poem's images in Coleridge's omnivorous reading. Where do the subconscious and conscious meet and merge? Ever a fascinating question.