support creating component with a name property and no view file