- You’ve successfully created a project with
- Vite +
- Vue 3.
-
-
+
+
{{ msg }}
+
+ You’ve successfully created a project with
+ Vite +
+ Vue 3.
+
+
diff --git a/src/components/TheWelcome.vue b/src/components/TheWelcome.vue
index dab9536..c4f56a2 100644
--- a/src/components/TheWelcome.vue
+++ b/src/components/TheWelcome.vue
@@ -8,81 +8,81 @@ import SupportIcon from './icons/IconSupport.vue'
-
-
-
-
- Documentation
+
+
+
+
+ Documentation
- Vue’s
- official documentation
- provides you with all information you need to get started.
-
+ Vue’s
+ official documentation
+ provides you with all information you need to get started.
+
-
-
-
-
- Tooling
+
+
+
+
+ Tooling
- This project is served and bundled with
- Vite. The
- recommended IDE setup is
- VSCode +
- Volar. If
- you need to test your components and web pages, check out
- Cypress and
- Cypress Component Testing.
+ This project is served and bundled with
+ Vite. The
+ recommended IDE setup is
+ VSCode +
+ Volar. If
+ you need to test your components and web pages, check out
+ Cypress and
+ Cypress Component Testing.
-
+
- More instructions are available in README.md.
-
+ More instructions are available in README.md.
+
-
-
-
-
- Ecosystem
+
+
+
+
+ Ecosystem
- Get official tools and libraries for your project:
- Pinia,
- Vue Router,
- Vue Test Utils, and
- Vue Dev Tools. If
- you need more resources, we suggest paying
- Awesome Vue
- a visit.
-
+ Get official tools and libraries for your project:
+ Pinia,
+ Vue Router,
+ Vue Test Utils, and
+ Vue Dev Tools. If
+ you need more resources, we suggest paying
+ Awesome Vue
+ a visit.
+
-
-
-
-
- Community
+
+
+
+
+ Community
- Got stuck? Ask your question on
- Vue Land, our official
- Discord server, or
- StackOverflow. You should also subscribe to
- our mailing list and follow
- the official
- @vuejs
- twitter account for latest news in the Vue world.
-
+ Got stuck? Ask your question on
+ Vue Land, our official
+ Discord server, or
+ StackOverflow. You should also subscribe to
+ our mailing list and follow
+ the official
+ @vuejs
+ twitter account for latest news in the Vue world.
+
-
-
-
-
- Support Vue
+
+
+
+
+ Support Vue
- As an independent project, Vue relies on community backing for its sustainability. You can help
- us by
- becoming a sponsor.
-
+ As an independent project, Vue relies on community backing for its sustainability. You can help
+ us by
+ becoming a sponsor.
+
diff --git a/src/components/WelcomeItem.vue b/src/components/WelcomeItem.vue
index ac366d0..aa9c3e2 100644
--- a/src/components/WelcomeItem.vue
+++ b/src/components/WelcomeItem.vue
@@ -1,86 +1,86 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
diff --git a/src/components/icons/IconCommunity.vue b/src/components/icons/IconCommunity.vue
index 2dc8b05..36348e2 100644
--- a/src/components/icons/IconCommunity.vue
+++ b/src/components/icons/IconCommunity.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/src/components/icons/IconDocumentation.vue b/src/components/icons/IconDocumentation.vue
index 6d4791c..0c0fa76 100644
--- a/src/components/icons/IconDocumentation.vue
+++ b/src/components/icons/IconDocumentation.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/src/components/icons/IconEcosystem.vue b/src/components/icons/IconEcosystem.vue
index c3a4f07..0702bbb 100644
--- a/src/components/icons/IconEcosystem.vue
+++ b/src/components/icons/IconEcosystem.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/src/components/icons/IconSupport.vue b/src/components/icons/IconSupport.vue
index 7452834..908b94c 100644
--- a/src/components/icons/IconSupport.vue
+++ b/src/components/icons/IconSupport.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/src/components/icons/IconTooling.vue b/src/components/icons/IconTooling.vue
index 660598d..9e82068 100644
--- a/src/components/icons/IconTooling.vue
+++ b/src/components/icons/IconTooling.vue
@@ -1,19 +1,19 @@
-
+
diff --git a/src/main.js b/src/main.js
index 5dcad83..7ca6cbc 100644
--- a/src/main.js
+++ b/src/main.js
@@ -1,7 +1,7 @@
import './assets/main.css'
-import { createApp } from 'vue'
-import { createPinia } from 'pinia'
+import {createApp} from 'vue'
+import {createPinia} from 'pinia'
import App from './App.vue'
import router from './router'
diff --git a/src/router/index.js b/src/router/index.js
index a49ae50..ff8fe9e 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,23 +1,23 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import {createRouter, createWebHistory} from 'vue-router'
import HomeView from '../views/HomeView.vue'
const router = createRouter({
- history: createWebHistory(import.meta.env.BASE_URL),
- routes: [
- {
- path: '/',
- name: 'home',
- component: HomeView
- },
- {
- path: '/about',
- name: 'about',
- // route level code-splitting
- // this generates a separate chunk (About.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import('../views/AboutView.vue')
- }
- ]
+ history: createWebHistory(import.meta.env.BASE_URL),
+ routes: [
+ {
+ path: '/',
+ name: 'home',
+ component: HomeView
+ },
+ {
+ path: '/about',
+ name: 'about',
+ // route level code-splitting
+ // this generates a separate chunk (About.[hash].js) for this route
+ // which is lazy-loaded when the route is visited.
+ component: () => import('../views/AboutView.vue')
+ }
+ ]
})
export default router
diff --git a/src/stores/counter.js b/src/stores/counter.js
index b6757ba..88e6402 100644
--- a/src/stores/counter.js
+++ b/src/stores/counter.js
@@ -1,12 +1,13 @@
-import { ref, computed } from 'vue'
-import { defineStore } from 'pinia'
+import {ref, computed} from 'vue'
+import {defineStore} from 'pinia'
export const useCounterStore = defineStore('counter', () => {
- const count = ref(0)
- const doubleCount = computed(() => count.value * 2)
- function increment() {
- count.value++
- }
+ const count = ref(0)
+ const doubleCount = computed(() => count.value * 2)
- return { count, doubleCount, increment }
+ function increment() {
+ count.value++
+ }
+
+ return {count, doubleCount, increment}
})
diff --git a/src/views/AboutView.vue b/src/views/AboutView.vue
index 756ad2a..f470365 100644
--- a/src/views/AboutView.vue
+++ b/src/views/AboutView.vue
@@ -1,15 +1,15 @@
-