回答編集履歴

2

追記

2020/06/12 13:29

投稿

sousuke
sousuke

スコア3828

test CHANGED
@@ -1 +1,17 @@
1
1
  isActiveの後ろに謎の文字があるからでは?全角スペースかなにか。id=”app”のdivの閉じタグの右にも見えてる
2
+
3
+
4
+
5
+ ### 追記
6
+
7
+ :classに閉じかっこ}がない
8
+
9
+ ```html
10
+
11
+ <div id="app">
12
+
13
+ <h1 :class="{red:isActive,'bg-color':!isActive}">Hello</h1>
14
+
15
+ </div>
16
+
17
+ ```

1

追加

2020/06/12 13:29

投稿

sousuke
sousuke

スコア3828

test CHANGED
@@ -1 +1 @@
1
- isActiveの後ろに謎の文字があるからでは?全角スペースかなにか
1
+ isActiveの後ろに謎の文字があるからでは?全角スペースかなにか。id=”app”のdivの閉じタグの右にも見えてる