Initial Commit - Fixed the 'npm run dev' command issue. Original script doesn't build files when changed.

This commit is contained in:
Indrajith K L
2018-02-15 14:24:00 +05:30
commit 506c63b251
11 changed files with 2118 additions and 0 deletions

16
src/App.html Normal file
View File

@@ -0,0 +1,16 @@
<label>Hello {{name}}!</label>
Template : <Test1></Test1>
Template : <Test2></Test2>
<style>
h1 {
color: purple;
}
</style>
<script>
import Test1 from './components/Test1/Test1.html';
import Test2 from './components/Test2/Test2.html';
export default {
components :{Test1, Test2}
}
</script>

View File

@@ -0,0 +1 @@
<label>Test 1</label>

View File

@@ -0,0 +1 @@
<label>Test 2</label>

10
src/main.js Normal file
View File

@@ -0,0 +1,10 @@
import App from './App.html';
const app = new App({
target: document.body,
data: {
name: 'This is my name'
}
});
export default app;