Added vue.js

This commit is contained in:
krzysiej
2022-05-24 15:47:58 +02:00
parent 03a5897a16
commit 120991e584
8 changed files with 176 additions and 23 deletions
-4
View File
@@ -7,12 +7,8 @@
// any CSS you import will output into a single css file (app.scss in this case)
import './styles/app.scss';
import 'bootstrap';
import getNiceMessage from './jstest';
console.info(getNiceMessage(3));
// start the Stimulus application
import './bootstrap';
+7
View File
@@ -0,0 +1,7 @@
import Vue from 'vue';
import App from './pages/files'
new Vue({
render: h => h(App)
}).$mount('#app');
-3
View File
@@ -1,3 +0,0 @@
export default function (param) {
return 'test - '.repeat(param)
}
+15
View File
@@ -0,0 +1,15 @@
<template>
<h1>hello {{ world }}</h1>
</template>
<script>
export default {
name: 'Files',
data() {
return {
world: "świecie"
}
},
}
</script>