create-vuetify 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/package.json +3 -3
  2. package/template/javascript/base/README.md +57 -0
  3. package/template/javascript/base/_browserslistrc +4 -0
  4. package/template/javascript/base/_editorconfig +5 -0
  5. package/template/javascript/base/_eslintrc.js +10 -0
  6. package/template/javascript/base/_gitignore +22 -0
  7. package/template/javascript/base/index.html +16 -0
  8. package/template/javascript/base/jsconfig.json +19 -0
  9. package/template/javascript/base/package.json +27 -0
  10. package/template/javascript/base/public/favicon.ico +0 -0
  11. package/template/javascript/base/src/App.vue +7 -0
  12. package/template/javascript/base/src/assets/logo.png +0 -0
  13. package/template/javascript/base/src/assets/logo.svg +6 -0
  14. package/template/javascript/base/src/components/HelloWorld.vue +79 -0
  15. package/template/javascript/base/src/layouts/default/AppBar.vue +13 -0
  16. package/template/javascript/base/src/layouts/default/Default.vue +12 -0
  17. package/template/javascript/base/src/layouts/default/View.vue +9 -0
  18. package/template/javascript/base/src/main.js +25 -0
  19. package/template/javascript/base/src/plugins/index.js +11 -0
  20. package/template/javascript/base/src/plugins/vuetify.js +26 -0
  21. package/template/javascript/base/src/plugins/webfontloader.js +15 -0
  22. package/template/javascript/base/src/router/index.js +26 -0
  23. package/template/javascript/base/src/styles/settings.scss +10 -0
  24. package/template/javascript/base/src/views/Home.vue +7 -0
  25. package/template/javascript/base/vite.config.js +39 -0
  26. package/template/javascript/default/README.md +44 -0
  27. package/template/javascript/default/_browserslistrc +4 -0
  28. package/template/javascript/default/_editorconfig +5 -0
  29. package/template/javascript/default/_gitignore +23 -0
  30. package/template/javascript/default/index.html +16 -0
  31. package/template/javascript/default/jsconfig.json +19 -0
  32. package/template/javascript/default/package.json +20 -0
  33. package/template/javascript/default/public/favicon.ico +0 -0
  34. package/template/javascript/default/src/App.vue +11 -0
  35. package/template/javascript/default/src/assets/logo.png +0 -0
  36. package/template/javascript/default/src/assets/logo.svg +6 -0
  37. package/template/javascript/default/src/components/HelloWorld.vue +79 -0
  38. package/template/javascript/default/src/main.js +23 -0
  39. package/template/javascript/default/src/plugins/index.js +12 -0
  40. package/template/javascript/default/src/plugins/vuetify.js +26 -0
  41. package/template/javascript/default/src/plugins/webfontloader.js +15 -0
  42. package/template/javascript/default/vite.config.js +36 -0
  43. package/template/javascript/essentials/README.md +57 -0
  44. package/template/javascript/essentials/_browserslistrc +4 -0
  45. package/template/javascript/essentials/_editorconfig +5 -0
  46. package/template/javascript/essentials/_eslintrc.js +10 -0
  47. package/template/javascript/essentials/_gitignore +22 -0
  48. package/template/javascript/essentials/index.html +16 -0
  49. package/template/javascript/essentials/jsconfig.json +19 -0
  50. package/template/javascript/essentials/package.json +28 -0
  51. package/template/javascript/essentials/public/favicon.ico +0 -0
  52. package/template/javascript/essentials/src/App.vue +7 -0
  53. package/template/javascript/essentials/src/assets/logo.png +0 -0
  54. package/template/javascript/essentials/src/assets/logo.svg +6 -0
  55. package/template/javascript/essentials/src/components/HelloWorld.vue +79 -0
  56. package/template/javascript/essentials/src/layouts/default/AppBar.vue +13 -0
  57. package/template/javascript/essentials/src/layouts/default/Default.vue +12 -0
  58. package/template/javascript/essentials/src/layouts/default/View.vue +9 -0
  59. package/template/javascript/essentials/src/main.js +27 -0
  60. package/template/javascript/essentials/src/plugins/index.js +11 -0
  61. package/template/javascript/essentials/src/plugins/vuetify.js +26 -0
  62. package/template/javascript/essentials/src/plugins/webfontloader.js +15 -0
  63. package/template/javascript/essentials/src/router/index.js +26 -0
  64. package/template/javascript/essentials/src/store/app.js +8 -0
  65. package/template/javascript/essentials/src/store/index.js +4 -0
  66. package/template/javascript/essentials/src/styles/settings.scss +10 -0
  67. package/template/javascript/essentials/src/views/Home.vue +7 -0
  68. package/template/javascript/essentials/vite.config.js +39 -0
  69. package/template/typescript/base/README.md +57 -0
  70. package/template/typescript/base/_browserslistrc +4 -0
  71. package/template/typescript/base/_editorconfig +5 -0
  72. package/template/typescript/base/_eslintrc.js +14 -0
  73. package/template/typescript/base/_gitignore +22 -0
  74. package/template/typescript/base/env.d.ts +1 -0
  75. package/template/typescript/base/index.html +16 -0
  76. package/template/typescript/base/package.json +29 -0
  77. package/template/typescript/base/public/favicon.ico +0 -0
  78. package/template/typescript/base/src/App.vue +7 -0
  79. package/template/typescript/base/src/assets/logo.png +0 -0
  80. package/template/typescript/base/src/assets/logo.svg +6 -0
  81. package/template/typescript/base/src/components/HelloWorld.vue +79 -0
  82. package/template/typescript/base/src/layouts/default/AppBar.vue +13 -0
  83. package/template/typescript/base/src/layouts/default/Default.vue +12 -0
  84. package/template/typescript/base/src/layouts/default/View.vue +9 -0
  85. package/template/typescript/base/src/main.ts +25 -0
  86. package/template/typescript/base/src/plugins/index.ts +11 -0
  87. package/template/typescript/base/src/plugins/vuetify.ts +26 -0
  88. package/template/typescript/base/src/plugins/webfontloader.ts +15 -0
  89. package/template/typescript/base/src/router/index.ts +26 -0
  90. package/template/typescript/base/src/styles/settings.scss +10 -0
  91. package/template/typescript/base/src/views/Home.vue +7 -0
  92. package/template/typescript/base/tsconfig.json +28 -0
  93. package/template/typescript/base/vite.config.ts +39 -0
  94. package/template/typescript/default/README.md +44 -0
  95. package/template/typescript/default/_browserslistrc +4 -0
  96. package/template/typescript/default/_editorconfig +5 -0
  97. package/template/typescript/default/_gitignore +23 -0
  98. package/template/typescript/default/env.d.ts +1 -0
  99. package/template/typescript/default/index.html +16 -0
  100. package/template/typescript/default/package.json +22 -0
  101. package/template/typescript/default/public/favicon.ico +0 -0
  102. package/template/typescript/default/src/App.vue +11 -0
  103. package/template/typescript/default/src/assets/logo.png +0 -0
  104. package/template/typescript/default/src/assets/logo.svg +6 -0
  105. package/template/typescript/default/src/components/HelloWorld.vue +79 -0
  106. package/template/typescript/default/src/main.ts +23 -0
  107. package/template/typescript/default/src/plugins/index.ts +12 -0
  108. package/template/typescript/default/src/plugins/vuetify.ts +26 -0
  109. package/template/typescript/default/src/plugins/webfontloader.ts +15 -0
  110. package/template/typescript/default/tsconfig.json +28 -0
  111. package/template/typescript/default/vite.config.ts +36 -0
  112. package/template/typescript/essentials/README.md +57 -0
  113. package/template/typescript/essentials/_browserslistrc +4 -0
  114. package/template/typescript/essentials/_editorconfig +5 -0
  115. package/template/typescript/essentials/_eslintrc.js +14 -0
  116. package/template/typescript/essentials/_gitignore +22 -0
  117. package/template/typescript/essentials/env.d.ts +1 -0
  118. package/template/typescript/essentials/index.html +16 -0
  119. package/template/typescript/essentials/package.json +31 -0
  120. package/template/typescript/essentials/public/favicon.ico +0 -0
  121. package/template/typescript/essentials/src/App.vue +7 -0
  122. package/template/typescript/essentials/src/assets/logo.png +0 -0
  123. package/template/typescript/essentials/src/assets/logo.svg +6 -0
  124. package/template/typescript/essentials/src/components/HelloWorld.vue +79 -0
  125. package/template/typescript/essentials/src/layouts/default/AppBar.vue +13 -0
  126. package/template/typescript/essentials/src/layouts/default/Default.vue +12 -0
  127. package/template/typescript/essentials/src/layouts/default/View.vue +9 -0
  128. package/template/typescript/essentials/src/main.ts +27 -0
  129. package/template/typescript/essentials/src/plugins/index.ts +11 -0
  130. package/template/typescript/essentials/src/plugins/vuetify.ts +26 -0
  131. package/template/typescript/essentials/src/plugins/webfontloader.ts +15 -0
  132. package/template/typescript/essentials/src/router/index.ts +26 -0
  133. package/template/typescript/essentials/src/store/app.ts +8 -0
  134. package/template/typescript/essentials/src/store/index.ts +4 -0
  135. package/template/typescript/essentials/src/styles/settings.scss +10 -0
  136. package/template/typescript/essentials/src/views/Home.vue +7 -0
  137. package/template/typescript/essentials/tsconfig.json +28 -0
  138. package/template/typescript/essentials/vite.config.ts +39 -0
@@ -0,0 +1,79 @@
1
+ <template>
2
+ <v-container class="fill-height">
3
+ <v-responsive class="d-flex align-center text-center fill-height">
4
+ <v-img
5
+ contain
6
+ height="300"
7
+ src="src/assets/logo.svg"
8
+ />
9
+
10
+ <div class="text-body-2 font-weight-light mb-n1">Welcome to</div>
11
+
12
+ <h1 class="text-h2 font-weight-bold">Vuetify</h1>
13
+
14
+ <div class="py-14" />
15
+
16
+ <v-row class="d-flex align-center justify-center">
17
+ <v-col cols="auto">
18
+ <v-btn
19
+ href="https://next.vuetifyjs.com/components/all/"
20
+ min-width="164"
21
+ rel="noopener noreferrer"
22
+ target="_blank"
23
+ variant="text"
24
+ >
25
+ <v-icon
26
+ icon="mdi-view-dashboard"
27
+ size="large"
28
+ start
29
+ />
30
+
31
+ Components
32
+ </v-btn>
33
+ </v-col>
34
+
35
+ <v-col cols="auto">
36
+ <v-btn
37
+ color="primary"
38
+ href="https://next.vuetifyjs.com/introduction/why-vuetify/#feature-guides"
39
+ min-width="228"
40
+ rel="noopener noreferrer"
41
+ size="x-large"
42
+ target="_blank"
43
+ variant="flat"
44
+ >
45
+ <v-icon
46
+ icon="mdi-speedometer"
47
+ size="large"
48
+ start
49
+ />
50
+
51
+ Get Started
52
+ </v-btn>
53
+ </v-col>
54
+
55
+ <v-col cols="auto">
56
+ <v-btn
57
+ href="https://community.vuetifyjs.com/"
58
+ min-width="164"
59
+ rel="noopener noreferrer"
60
+ target="_blank"
61
+ variant="text"
62
+ >
63
+ <v-icon
64
+ icon="mdi-account-group"
65
+ size="large"
66
+ start
67
+ />
68
+
69
+ Community
70
+ </v-btn>
71
+ </v-col>
72
+ </v-row>
73
+ </v-responsive>
74
+ </v-container>
75
+ </template>
76
+
77
+ <script setup>
78
+ //
79
+ </script>
@@ -0,0 +1,23 @@
1
+ /**
2
+ * main.js
3
+ *
4
+ * Bootstraps Vuetify and other plugins then mounts the App`
5
+ */
6
+
7
+ // Components
8
+ import App from './App.vue'
9
+
10
+ // Composables
11
+ import { createApp } from 'vue'
12
+
13
+ // Plugins
14
+ import { registerPlugins } from '@/plugins'
15
+ import vuetify from './plugins/vuetify'
16
+
17
+ const app = createApp(App)
18
+
19
+ registerPlugins(app)
20
+
21
+ app
22
+ .use(vuetify)
23
+ .mount('#app')
@@ -0,0 +1,12 @@
1
+ /**
2
+ * plugins/index.js
3
+ *
4
+ * Automatically included in `./src/main.js`
5
+ */
6
+
7
+ import { loadFonts } from './webfontloader'
8
+
9
+ export function registerPlugins () {
10
+ loadFonts()
11
+ }
12
+
@@ -0,0 +1,26 @@
1
+ /**
2
+ * plugins/vuetify.js
3
+ *
4
+ * Framework documentation: https://vuetifyjs.com`
5
+ */
6
+
7
+ // Styles
8
+ import '@mdi/font/css/materialdesignicons.css'
9
+ import 'vuetify/styles'
10
+
11
+ // Composables
12
+ import { createVuetify } from 'vuetify'
13
+
14
+ // https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides
15
+ export default createVuetify({
16
+ theme: {
17
+ themes: {
18
+ light: {
19
+ colors: {
20
+ primary: '#1867C0',
21
+ secondary: '#5CBBF6',
22
+ },
23
+ },
24
+ },
25
+ },
26
+ })
@@ -0,0 +1,15 @@
1
+ /**
2
+ * plugins/webfontloader.js
3
+ *
4
+ * webfontloader documentation: https://github.com/typekit/webfontloader
5
+ */
6
+
7
+ export async function loadFonts () {
8
+ const webFontLoader = await import(/* webpackChunkName: "webfontloader" */'webfontloader')
9
+
10
+ webFontLoader.load({
11
+ google: {
12
+ families: ['Roboto:100,300,400,500,700,900&display=swap'],
13
+ },
14
+ })
15
+ }
@@ -0,0 +1,36 @@
1
+ // Plugins
2
+ import vue from '@vitejs/plugin-vue'
3
+ import vuetify from 'vite-plugin-vuetify'
4
+
5
+ // Utilities
6
+ import { defineConfig } from 'vite'
7
+ import { fileURLToPath, URL } from 'node:url'
8
+
9
+ // https://vitejs.dev/config/
10
+ export default defineConfig({
11
+ plugins: [
12
+ vue(),
13
+ // https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vite-plugin
14
+ vuetify({
15
+ autoImport: true,
16
+ }),
17
+ ],
18
+ define: { 'process.env': {} },
19
+ resolve: {
20
+ alias: {
21
+ '@': fileURLToPath(new URL('./src', import.meta.url))
22
+ },
23
+ extensions: [
24
+ '.js',
25
+ '.json',
26
+ '.jsx',
27
+ '.mjs',
28
+ '.ts',
29
+ '.tsx',
30
+ '.vue',
31
+ ],
32
+ },
33
+ server: {
34
+ port: 3000,
35
+ },
36
+ })
@@ -0,0 +1,57 @@
1
+ # essentials
2
+
3
+ ## Project setup
4
+
5
+ ```
6
+ # yarn
7
+ yarn
8
+
9
+ # npm
10
+ npm install
11
+
12
+ # pnpm
13
+ pnpm install
14
+ ```
15
+
16
+ ### Compiles and hot-reloads for development
17
+
18
+ ```
19
+ # yarn
20
+ yarn dev
21
+
22
+ # npm
23
+ npm run dev
24
+
25
+ # pnpm
26
+ pnpm dev
27
+ ```
28
+
29
+ ### Compiles and minifies for production
30
+
31
+ ```
32
+ # yarn
33
+ yarn build
34
+
35
+ # npm
36
+ npm run build
37
+
38
+ # pnpm
39
+ pnpm build
40
+ ```
41
+
42
+ ### Lints and fixes files
43
+
44
+ ```
45
+ # yarn
46
+ yarn lint
47
+
48
+ # npm
49
+ npm run lint
50
+
51
+ # pnpm
52
+ pnpm lint
53
+ ```
54
+
55
+ ### Customize configuration
56
+
57
+ See [Configuration Reference](https://vitejs.dev/config/).
@@ -0,0 +1,4 @@
1
+ > 1%
2
+ last 2 versions
3
+ not dead
4
+ not ie 11
@@ -0,0 +1,5 @@
1
+ [*.{js,jsx,ts,tsx,vue}]
2
+ indent_style = space
3
+ indent_size = 2
4
+ trim_trailing_whitespace = true
5
+ insert_final_newline = true
@@ -0,0 +1,10 @@
1
+ module.exports = {
2
+ root: true,
3
+ env: {
4
+ node: true,
5
+ },
6
+ extends: [
7
+ 'plugin:vue/vue3-essential',
8
+ 'eslint:recommended',
9
+ ],
10
+ }
@@ -0,0 +1,22 @@
1
+ .DS_Store
2
+ node_modules
3
+ /dist
4
+
5
+ # local env files
6
+ .env.local
7
+ .env.*.local
8
+
9
+ # Log files
10
+ npm-debug.log*
11
+ yarn-debug.log*
12
+ yarn-error.log*
13
+ pnpm-debug.log*
14
+
15
+ # Editor directories and files
16
+ .idea
17
+ .vscode
18
+ *.suo
19
+ *.ntvs*
20
+ *.njsproj
21
+ *.sln
22
+ *.sw?
@@ -0,0 +1,16 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8" />
6
+ <link rel="icon" href="/favicon.ico" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8
+ <title>Welcome to Vuetify 3</title>
9
+ </head>
10
+
11
+ <body>
12
+ <div id="app"></div>
13
+ <script type="module" src="/src/main.js"></script>
14
+ </body>
15
+
16
+ </html>
@@ -0,0 +1,19 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es5",
4
+ "module": "esnext",
5
+ "baseUrl": "./",
6
+ "moduleResolution": "node",
7
+ "paths": {
8
+ "@/*": [
9
+ "src/*"
10
+ ]
11
+ },
12
+ "lib": [
13
+ "esnext",
14
+ "dom",
15
+ "dom.iterable",
16
+ "scripthost"
17
+ ]
18
+ }
19
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "version": "0.0.0",
3
+ "private": true,
4
+ "scripts": {
5
+ "dev": "vite",
6
+ "build": "vite build",
7
+ "preview": "vite preview",
8
+ "lint": "eslint . --fix --ignore-path .gitignore"
9
+ },
10
+ "dependencies": {
11
+ "@mdi/font": "5.9.55",
12
+ "core-js": "^3.8.3",
13
+ "pinia": "^2.0.23",
14
+ "roboto-fontface": "*",
15
+ "vue": "^3.2.13",
16
+ "vue-router": "^4.0.0-0",
17
+ "vuetify": "^3.0.0-beta.0",
18
+ "webfontloader": "^1.0.0"
19
+ },
20
+ "devDependencies": {
21
+ "@vitejs/plugin-vue": "^3.0.3",
22
+ "eslint": "^8.22.0",
23
+ "eslint-plugin-vue": "^9.3.0",
24
+ "sass": "^1.55.0",
25
+ "vite": "^3.1.8",
26
+ "vite-plugin-vuetify": "^1.0.0-alpha.12"
27
+ }
28
+ }
@@ -0,0 +1,7 @@
1
+ <template>
2
+ <router-view />
3
+ </template>
4
+
5
+ <script setup>
6
+ //
7
+ </script>
@@ -0,0 +1,6 @@
1
+ <svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M261.126 140.65L164.624 307.732L256.001 466L377.028 256.5L498.001 47H315.192L261.126 140.65Z" fill="#1697F6"/>
3
+ <path d="M135.027 256.5L141.365 267.518L231.64 111.178L268.731 47H256H14L135.027 256.5Z" fill="#AEDDFF"/>
4
+ <path d="M315.191 47C360.935 197.446 256 466 256 466L164.624 307.732L315.191 47Z" fill="#1867C0"/>
5
+ <path d="M268.731 47C76.0026 47 141.366 267.518 141.366 267.518L268.731 47Z" fill="#7BC6FF"/>
6
+ </svg>
@@ -0,0 +1,79 @@
1
+ <template>
2
+ <v-container class="fill-height">
3
+ <v-responsive class="d-flex align-center text-center fill-height">
4
+ <v-img
5
+ contain
6
+ height="300"
7
+ src="src/assets/logo.svg"
8
+ />
9
+
10
+ <div class="text-body-2 font-weight-light mb-n1">Welcome to</div>
11
+
12
+ <h1 class="text-h2 font-weight-bold">Vuetify</h1>
13
+
14
+ <div class="py-14" />
15
+
16
+ <v-row class="d-flex align-center justify-center">
17
+ <v-col cols="auto">
18
+ <v-btn
19
+ href="https://next.vuetifyjs.com/components/all/"
20
+ min-width="164"
21
+ rel="noopener noreferrer"
22
+ target="_blank"
23
+ variant="text"
24
+ >
25
+ <v-icon
26
+ icon="mdi-view-dashboard"
27
+ size="large"
28
+ start
29
+ />
30
+
31
+ Components
32
+ </v-btn>
33
+ </v-col>
34
+
35
+ <v-col cols="auto">
36
+ <v-btn
37
+ color="primary"
38
+ href="https://next.vuetifyjs.com/introduction/why-vuetify/#feature-guides"
39
+ min-width="228"
40
+ rel="noopener noreferrer"
41
+ size="x-large"
42
+ target="_blank"
43
+ variant="flat"
44
+ >
45
+ <v-icon
46
+ icon="mdi-speedometer"
47
+ size="large"
48
+ start
49
+ />
50
+
51
+ Get Started
52
+ </v-btn>
53
+ </v-col>
54
+
55
+ <v-col cols="auto">
56
+ <v-btn
57
+ href="https://community.vuetifyjs.com/"
58
+ min-width="164"
59
+ rel="noopener noreferrer"
60
+ target="_blank"
61
+ variant="text"
62
+ >
63
+ <v-icon
64
+ icon="mdi-account-group"
65
+ size="large"
66
+ start
67
+ />
68
+
69
+ Community
70
+ </v-btn>
71
+ </v-col>
72
+ </v-row>
73
+ </v-responsive>
74
+ </v-container>
75
+ </template>
76
+
77
+ <script setup>
78
+ //
79
+ </script>
@@ -0,0 +1,13 @@
1
+ <template>
2
+ <v-app-bar flat>
3
+ <v-app-bar-title>
4
+ <v-icon icon="mdi-circle-slice-6" />
5
+
6
+ Essentials Preset
7
+ </v-app-bar-title>
8
+ </v-app-bar>
9
+ </template>
10
+
11
+ <script setup>
12
+ //
13
+ </script>
@@ -0,0 +1,12 @@
1
+ <template>
2
+ <v-app>
3
+ <default-bar />
4
+
5
+ <default-view />
6
+ </v-app>
7
+ </template>
8
+
9
+ <script setup>
10
+ import DefaultBar from './AppBar.vue'
11
+ import DefaultView from './View.vue'
12
+ </script>
@@ -0,0 +1,9 @@
1
+ <template>
2
+ <v-main>
3
+ <router-view />
4
+ </v-main>
5
+ </template>
6
+
7
+ <script setup>
8
+ //
9
+ </script>
@@ -0,0 +1,27 @@
1
+ /**
2
+ * main.js
3
+ *
4
+ * Bootstraps Vuetify and other plugins then mounts the App`
5
+ */
6
+
7
+ // Components
8
+ import App from './App.vue'
9
+
10
+ // Composables
11
+ import { createApp } from 'vue'
12
+
13
+ // Plugins
14
+ import { registerPlugins } from '@/plugins'
15
+ import vuetify from './plugins/vuetify'
16
+ import pinia from './store'
17
+ import router from './router'
18
+
19
+ const app = createApp(App)
20
+
21
+ registerPlugins(app)
22
+
23
+ app
24
+ .use(vuetify)
25
+ .use(router)
26
+ .use(pinia)
27
+ .mount('#app')
@@ -0,0 +1,11 @@
1
+ /**
2
+ * plugins/index.js
3
+ *
4
+ * Automatically included in `./src/main.js`
5
+ */
6
+
7
+ import { loadFonts } from './webfontloader'
8
+
9
+ export function registerPlugins () {
10
+ loadFonts()
11
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * plugins/vuetify.js
3
+ *
4
+ * Framework documentation: https://vuetifyjs.com`
5
+ */
6
+
7
+ // Styles
8
+ import '@mdi/font/css/materialdesignicons.css'
9
+ import 'vuetify/styles'
10
+
11
+ // Composables
12
+ import { createVuetify } from 'vuetify'
13
+
14
+ // https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides
15
+ export default createVuetify({
16
+ theme: {
17
+ themes: {
18
+ light: {
19
+ colors: {
20
+ primary: '#1867C0',
21
+ secondary: '#5CBBF6',
22
+ },
23
+ },
24
+ },
25
+ },
26
+ })
@@ -0,0 +1,15 @@
1
+ /**
2
+ * plugins/webfontloader.js
3
+ *
4
+ * webfontloader documentation: https://github.com/typekit/webfontloader
5
+ */
6
+
7
+ export async function loadFonts () {
8
+ const webFontLoader = await import(/* webpackChunkName: "webfontloader" */'webfontloader')
9
+
10
+ webFontLoader.load({
11
+ google: {
12
+ families: ['Roboto:100,300,400,500,700,900&display=swap'],
13
+ },
14
+ })
15
+ }
@@ -0,0 +1,26 @@
1
+ // Composables
2
+ import { createRouter, createWebHistory } from 'vue-router'
3
+
4
+ const routes = [
5
+ {
6
+ path: '/',
7
+ component: () => import('@/layouts/default/Default.vue'),
8
+ children: [
9
+ {
10
+ path: '',
11
+ name: 'Home',
12
+ // route level code-splitting
13
+ // this generates a separate chunk (about.[hash].js) for this route
14
+ // which is lazy-loaded when the route is visited.
15
+ component: () => import(/* webpackChunkName: "home" */ '@/views/Home.vue'),
16
+ },
17
+ ],
18
+ },
19
+ ]
20
+
21
+ const router = createRouter({
22
+ history: createWebHistory(process.env.BASE_URL),
23
+ routes,
24
+ })
25
+
26
+ export default router
@@ -0,0 +1,8 @@
1
+ // Utilities
2
+ import { defineStore } from 'pinia'
3
+
4
+ export const useAppStore = defineStore('app', {
5
+ state: () => ({
6
+ //
7
+ }),
8
+ })
@@ -0,0 +1,4 @@
1
+ // Utilities
2
+ import { createPinia } from 'pinia'
3
+
4
+ export default createPinia()
@@ -0,0 +1,10 @@
1
+ /**
2
+ * src/styles/settings.scss
3
+ *
4
+ * Configures SASS variables and Vuetify overwrites
5
+ */
6
+
7
+ // https://next.vuetifyjs.com/features/sass-variables/`
8
+ // @use 'vuetify' with (
9
+ // $color-pack: false
10
+ // );
@@ -0,0 +1,7 @@
1
+ <template>
2
+ <HelloWorld />
3
+ </template>
4
+
5
+ <script setup>
6
+ import HelloWorld from '@/components/HelloWorld.vue'
7
+ </script>