diff --git a/test/runtime/samples/dynamic-component-bind-in-oncreate/Nested.html b/test/runtime/samples/dynamic-component-bind-in-oncreate/Nested.html new file mode 100644 index 0000000000..f13facf227 --- /dev/null +++ b/test/runtime/samples/dynamic-component-bind-in-oncreate/Nested.html @@ -0,0 +1,11 @@ +

Text in Nested.html: {text}

+ + diff --git a/test/runtime/samples/dynamic-component-bind-in-oncreate/_config.js b/test/runtime/samples/dynamic-component-bind-in-oncreate/_config.js new file mode 100644 index 0000000000..34150a825f --- /dev/null +++ b/test/runtime/samples/dynamic-component-bind-in-oncreate/_config.js @@ -0,0 +1,8 @@ +export default { + 'skip-ssr': true, + + html: ` +

text in App.html: Changed in Nested

+

Text in Nested.html: Changed in Nested

+ ` +}; \ No newline at end of file diff --git a/test/runtime/samples/dynamic-component-bind-in-oncreate/main.html b/test/runtime/samples/dynamic-component-bind-in-oncreate/main.html new file mode 100644 index 0000000000..94db75e2e4 --- /dev/null +++ b/test/runtime/samples/dynamic-component-bind-in-oncreate/main.html @@ -0,0 +1,18 @@ +

text in App.html: {text}

+ + + \ No newline at end of file