diff --git a/src/App.vue b/src/App.vue index a2def34..ac972b7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,14 +1,22 @@ - + + + + diff --git a/src/index.css b/src/index.css index 852de7a..80f7d9f 100644 --- a/src/index.css +++ b/src/index.css @@ -2,7 +2,16 @@ font-family: Avenir, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - text-align: center; + color: #2c3e50; margin-top: 60px; + margin-top: 60px; } + +div{ + line-height: 24px; +} + +code{ + color: rgb(49, 139, 190); +} \ No newline at end of file diff --git a/src/main.js b/src/main.js index 50a4dab..d9054da 100644 --- a/src/main.js +++ b/src/main.js @@ -2,4 +2,13 @@ import { createApp } from 'vue' import App from './App.vue' import './index.css' -createApp(App).mount('#app') +const app = createApp(App) + +app.config.errorHandler = (err) => { + alert(err) +} + +// Регистрация компонентов +// app.component('table',vuetable) + +app.mount('#app') diff --git a/src/sample_examples/TemplateSyntax.vue b/src/sample_examples/TemplateSyntax.vue new file mode 100644 index 0000000..054f45d --- /dev/null +++ b/src/sample_examples/TemplateSyntax.vue @@ -0,0 +1,98 @@ + + + + + + + + \ No newline at end of file