search

Home  >  Q&A  >  body text

javascript - When do double quotes in vue represent strings and when do they represent variables? It's a bit confusing

In vue, when do double quotes represent strings and when do they represent variables? It’s a bit confusing

漂亮男人漂亮男人2857 days ago864

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-05-19 10:42:01

    The double quotes inside {{}} are strings
    The variables inside double quotes in the tag's attributes

    reply
    0
  • Cancelreply