Skip to content

Commit 144d711

Browse files
committed
run build
1 parent 9ef5457 commit 144d711

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

dist/index.html

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
77
<title>Development Workspace</title>
88
<meta name="viewport" content="width=device-width, initial-scale=1" />
9-
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.13/dist/vue.js"></script>
9+
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
1010
<!-- Javascript bundle gets inyected right here -->
1111
<script type="text/javascript" src="vue-line-clamp.js"></script></head>
1212
<body>
@@ -40,16 +40,15 @@
4040
</p>
4141
</div>
4242
<script>
43-
Vue.use(window['vue-line-clamp'], {
44-
importCss: false,
45-
});
46-
47-
new Vue({
48-
el: '#app',
49-
data: {
50-
lines: 2,
43+
var app = Vue.createApp({
44+
data: function () {
45+
return { lines: 2 };
5146
},
5247
});
48+
app.use(window['vue-line-clamp'], {
49+
importCss: false,
50+
});
51+
app.mount('#app');
5352
</script>
5453
</body>
5554
</html>

dist/vue-line-clamp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)