package com.axellience.vuegwtexamples.client.examples.errorboundary;

import com.axellience.vuegwt.client.component.VueComponent;
import com.axellience.vuegwt.client.component.hooks.HasCreated;
import com.axellience.vuegwt.jsr69.component.annotations.Component;
import com.axellience.vuegwtexamples.client.examples.common.Todo;

@Component(hasTemplate = false)
public class ErrorMakerComponent extends VueComponent implements HasCreated
{
    @Override
    public void created()
    {
        Todo nullTodo = null;
        nullTodo.getText(); // This will break
    }
}

@@ -63,16 +63,73 @@
 ndary;%0A%0A
+import com.axellience.vuegwt.client.component.HasRender;%0A
 import c
@@ -244,16 +244,129 @@
 reated;%0A
+import com.axellience.vuegwt.client.vnode.VNode;%0Aimport com.axellience.vuegwt.client.vnode.builder.VNodeBuilder;%0A
 import c
@@ -599,16 +599,27 @@
 sCreated
+, HasRender
 %0A%7B%0A    @
@@ -741,11 +741,118 @@
 ak%0A    %7D
+%0A%0A    @Override%0A    public VNode render(VNodeBuilder builder)%0A    %7B%0A        return builder.el(%22div%22);%0A    %7D
 %0A%7D%0A

Add a render method to ErrorMakerComponent example to remove Vue warning