Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit 0538e85

Browse files
author
Mateo Mujica
committed
vue.js test
1 parent d3602ae commit 0538e85

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Particle/Apps/Views/index/index.tpl

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
{config_load file='default.conf'}{strip}
2+
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
3+
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
24

5+
<div class="container" id="main">
6+
<h1>View made with Vue.js</h1>
7+
<p> {{ message }} </p>
8+
</div>
9+
10+
<script type="text/javascript">
11+
new Vue ({
12+
el: '#main',
13+
data: {
14+
message = 'Este es un framework php front y back end',
15+
}
16+
});
17+
</script>
318
{/strip}

0 commit comments

Comments
 (0)