提交 72c9ab63 编写于 作者: D Devon Govett

More vue tests

上级 8f929d8c
<template>
<div azeaozeaegid="app">
<div id="app">
<img src="./assets/logo.png">
<h1>{{ msg }}</h1>
<h2>Essential Links</h2>
......
<template>
<functional msg="Hi">
<p slot="slot2">The body</p>
</functional>
</template>
<script>
import functional from './functional';
export default {
components: {
functional
}
}
</script>
<template functional>
<div>
<h2 :class="$style.red">{{ props.msg }}</h2>
<slot></slot>
<slot name="slot2"></slot>
<div>Some <span>text</span></div>
<div v-if="false">Not exist</div>
</div>
</template>
<style module>
.red {
color: red;
}
</style>
<html>
<head>
</head>
<body>
<div id="app"></div>
<script src="./index.js"></script>
</body>
</html>
import Vue from 'vue/dist/vue.esm.js';
import App from './App.vue';
window.myVue = new Vue({
el: '#app',
render: h => h(App)
});
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册