0

例として、バックボーンで todo リストを作成しています。しかし、テキスト/テン​​プレートを使用しているときにエラーが発生します。エラーは - Tag start is not closedです。:

<script type="text/template" id="item-template">
    <div class="view">
        <input class="toggle" type="checkbox" (error) <%= completed ? 'checked' : '' %>>
        <label><%- title %></label>
        <button class="destroy"></button>
    </div>
    <input class="edit" value="<%- title %>">
</script>
4

0 に答える 0