fix variable bug
add structure examples of different frontend frameworks