This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<greeting :name="Kwoosh"></greeting> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vue.component('greeting', { | |
//Renders: | |
//<p>Hello <name></p> | |
render(createElement) { | |
return createElement( | |
'p', | |
'Hello '+this.name | |
); | |
}, | |
prop: ['name'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<h1>Hello World!</h1> | |
<p>Welcome to Vue.js</p> | |
<p>A <a href="foo/bar.html">link</a> within a sentence.</p> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vue.component('greeting', { | |
//Renders: | |
//<div> | |
// <h1>Hello World!</h1> | |
// <p>Welcome to Vue.js</p> | |
// <p>A <a href="foo/bar.html">link</a> within a sentence.</p> | |
//</div> | |
render(createElement) { | |
return createElement( | |
'div', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Hello World</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vue.component('greeting', { | |
//Renders: | |
//<p>Hello World</p> | |
render(createElement) { | |
return createElement( | |
'p', | |
'Hello World' | |
); | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<greeting></greeting> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="my-div" data-foo="bar" class="foo bar" style="width: 150px;"> | |
<h1>Hello World!</h1> | |
<p>Welcome to Vue.js</p> | |
<p>A <a href="foo/bar.html">link</a> within a sentence.</p> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
createElement ( | |
// {String | Object | Function} | |
// Element tag name, component options, or function | |
// returning one of these. | |
// Required. | |
'div', | |
// {Object} | |
// Object corresponding to the components attributes | |
// Optional. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<exec dir="${basedir}/src/" executable="/usr/bin/tox" failonerror="true"> | |
<arg line="-e py35 -- tests/unit --cov=./ --cov-report=xml --junitxml=junit-unit.xml --cov-append"/> | |
</exec> | |
<exec dir="${basedir}/src/" executable="/usr/bin/tox" failonerror="true"> | |
<arg line="-e py35 -- tests/functional --cov=./ --cov-report=xml --junitxml=junit-unit.xml --cov-append"/> | |
</exec> |