Issue on compiling a slate widget

Are the Slate tutorials / Docs going to be updated soon for this kind of stuff? A lot is out of date and just flat out wrong. Leads to a lot of wasted dev time.