LoginSignup
0
0

More than 1 year has passed since last update.

#Error: Failed to execute 'appendChild' on 'Node': This node type does not support this method.

Last updated at Posted at 2021-10-14

以下のようなテンプレートでnuxt generateしたら表題のエラーが出た。

<table>
    <tr>
        <th>名前</th>
        <td>
            <input v-model="formData.name" type="text" name="name">
        </td>
    </tr>
    <tr>
        <th>メール</th>
        <td>
            <input v-model="formData.email" type="text" name="email">
        </td>
    </tr>
    <tr>
        <th>電話番号</th>
        <td>
            <input v-model="formData.tel" type="text" name="tel">
        </td>
    </tr>
</table>

最終的には以下のように「tbody」で囲んでやることで解決した。

<table>
    <tbody>
        <tr>
            <th>名前</th>
            <td>
                <input v-model="formData.name" type="text" name="name">
            </td>
        </tr>
        <tr>
            <th>メール</th>
            <td>
                <input v-model="formData.email" type="text" name="email">
            </td>
        </tr>
        <tr>
            <th>電話番号</th>
            <td>
                <input v-model="formData.tel" type="text" name="tel">
            </td>
        </tr>
    </tbody>
</table>
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0