Error using lovelace

layout-card.js:36:10 Uncaught TypeError: card.setConfig is not a function
As shown above,I use the thomasloven’s layout-card.js,I know what is wrong, but I do not know how to revise, consult everybody。Thanks!