From e1612b74bc1929d5e2a01dd8471006e487f060c5 Mon Sep 17 00:00:00 2001 From: Denis M Date: Thu, 11 Dec 2025 16:25:36 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D0=B7=D0=B4=D0=B0=D0=BB=20=D1=84?= =?UTF-8?q?=D0=B0=D0=B9=D0=BB=20TemplateSyntax.vue=20=D0=B8=20=D0=BF=D0=B8?= =?UTF-8?q?=D1=81=D0=B0=D0=BB=20=D0=BF=D1=80=D0=B8=D0=BC=D1=80=D1=8B=20?= =?UTF-8?q?=D0=B8=D0=B7=20=D1=80=D1=83=D0=BA=D0=BE=D0=B2=D0=BE=D0=B4=D1=81?= =?UTF-8?q?=D1=82=D0=B2=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 28 +++++--- src/index.css | 11 ++- src/main.js | 11 ++- src/sample_examples/TemplateSyntax.vue | 98 ++++++++++++++++++++++++++ 4 files changed, 136 insertions(+), 12 deletions(-) create mode 100644 src/sample_examples/TemplateSyntax.vue 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