[Main Layout]
17 |├── static.json
├── .prettierignore
├── public
└── favicon.ico
├── src
├── assets
│ ├── logo.png
│ └── scss
│ │ ├── app.scss
│ │ ├── _transitions.scss
│ │ └── _variables.scss
├── auth
│ ├── index.ts
│ ├── useAuth.ts
│ ├── interceptors.ts
│ ├── navigationGuards.ts
│ ├── devtools.ts
│ ├── types.ts
│ └── plugin.ts
├── api
│ ├── axios.ts
│ └── index.ts
├── layouts
│ ├── default.vue
│ └── main.vue
├── components
│ ├── loading
│ │ ├── Loading.vue
│ │ ├── WithLoadingIcon.vue
│ │ └── WithLoadingPromise.vue
│ ├── HelloWorld.vue
│ ├── RouterViewTransition.vue
│ └── Toasts.vue
├── App.vue
├── router.ts
├── pages
│ ├── profile.vue
│ ├── login.vue
│ ├── about.vue
│ ├── [...error].vue
│ ├── home.vue
│ ├── index.vue
│ └── design.vue
├── plugins.d.ts
├── env.d.ts
├── main.ts
├── plugins
│ └── i18n.ts
└── composables
│ └── useToasts.ts
├── .prettierrc.js
├── .gitignore
├── .vscode
├── extensions.json
└── settings.json
├── openapitools.json
├── locales
├── en.json
├── es.json
└── de.json
├── index.html
├── tsconfig.json
├── vue-i18n-extract.config.js
├── vite.config.ts
├── .eslintrc.js
├── package.json
├── spec
└── schema.yml
└── README.md
/static.json:
--------------------------------------------------------------------------------
1 | {
2 | "root": "dist/"
3 | }
4 |
--------------------------------------------------------------------------------
/.prettierignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | dist
3 | src/api-client
4 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/helixsoftco/vuelix/HEAD/public/favicon.ico
--------------------------------------------------------------------------------
/src/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/helixsoftco/vuelix/HEAD/src/assets/logo.png
--------------------------------------------------------------------------------
/src/auth/index.ts:
--------------------------------------------------------------------------------
1 | export { createAuth } from './plugin'
2 | export { useAuth } from './useAuth'
3 |
--------------------------------------------------------------------------------
/.prettierrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | printWidth: 120,
3 | semi: false,
4 | singleQuote: true,
5 | }
6 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
3 | dist
4 | dist-ssr
5 | *.local
6 | # Generated API Client
7 | /src/api-client
--------------------------------------------------------------------------------
/src/api/axios.ts:
--------------------------------------------------------------------------------
1 | import axios from 'axios'
2 |
3 | const axiosInstance = axios.create()
4 | export default axiosInstance
5 |
--------------------------------------------------------------------------------
/.vscode/extensions.json:
--------------------------------------------------------------------------------
1 | {
2 | "recommendations": ["johnsoncodehk.volar", "esbenp.prettier-vscode", "dbaeumer.vscode-eslint"]
3 | }
4 |
--------------------------------------------------------------------------------
/openapitools.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json",
3 | "spaces": 2,
4 | "generator-cli": {
5 | "version": "5.3.0"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/locales/en.json:
--------------------------------------------------------------------------------
1 | {
2 | "Not Authenticated": "",
3 | "Change Language": "",
4 | "Authenticated as {user}": "",
5 | "This template has no likes | This template has one like | This template has {likes} likes": ""
6 | }
--------------------------------------------------------------------------------
/src/layouts/default.vue:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 | This is the profile pageProfile Page
9 |
13 |
You need to be Authenticated in order to see this page
6 | 7 | 8 |[Main Layout]
17 |26 | Transitions are not triggered between routes of the same type, therefore changing the current page parameters won't 27 | cause a route transition: 28 |
29 | 30 |This page correspond to the "/home" URL generated from this file name and location
28 | 29 |
39 | {{ pets }}
40 |
41 |
15 |
16 | {{ msg }}
18 | 19 |20 | Helix Software 21 | | 22 | @helixsoft 23 |
24 | 25 |26 | 34 |
35 | 36 | 37 | 54 | -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import vue from '@vitejs/plugin-vue' 3 | import path from 'path' 4 | import Pages from 'vite-plugin-pages' 5 | import Layouts from 'vite-plugin-vue-layouts' 6 | import Icons from 'unplugin-icons/vite' 7 | import IconsResolver from 'unplugin-icons/resolver' 8 | import Components from 'unplugin-vue-components/vite' 9 | 10 | // https://vitejs.dev/config/ 11 | export default defineConfig({ 12 | plugins: [ 13 | vue(), 14 | Pages(), 15 | Layouts(), 16 | // This plugin allows to autoimport vue components 17 | Components({ 18 | /** 19 | * The icons resolver finds icons components from 'unplugin-icons' using this convenction: 20 | * {prefix}-{collection}-{icon} e.g.Click on the links to test the route transitions:
22 |[Default Layout]
29 |
30 |
31 |
42 | {{ t('Change Language') }}: 43 | 46 |
47 | 48 | -------------------------------------------------------------------------------- /src/components/Toasts.vue: -------------------------------------------------------------------------------- 1 | 25 | 26 | 27 || Heading | 37 |Example | 38 |
|---|---|
| 43 | {{ ` 44 | 45 | `}} 46 | | 47 |Vuelix Example | 48 |
|
52 | {{ `
53 | |
56 | 57 | Vuelix Example 58 | | 59 |
| Texts | 68 |Example | 69 |
|---|---|
| 74 | {{ ` 75 | 76 | `}} 77 | | 78 |Vuelix Example |
79 |
| 82 | {{ ` 83 | 84 | `}} 85 | | 86 |Vuelix Example |
87 |
| 90 | {{ ` 91 | 92 | `}} 93 | | 94 |Vuelix Example | 95 |
| Colors | 104 |Example | 105 |
|---|---|
| {{ color }} | 111 |112 | 113 | | 114 |
| Buttons | 123 |Example | 124 |
|---|---|
| 130 | {{ ` 131 | 132 | `}} 133 | | 134 |135 | 136 | | 137 |
| 140 | {{ ` 141 | 142 | `}} 143 | | 144 |145 | 146 | | 147 |
| 150 | {{ ` 151 | 152 | `}} 153 | | 154 |155 | 156 | | 157 |
| 160 | {{ ` 161 | 162 | `}} 163 | | 164 |165 | 166 | | 167 |
| 170 | {{ ` 171 | 172 | `}} 173 | | 174 |175 | Vuelix Example 176 | | 177 |
| Buttons outline | 183 |Example | 184 |
| 190 | {{ ` 191 | 192 | `}} 193 | | 194 |195 | 196 | | 197 |
| 200 | {{ ` 201 | 202 | `}} 203 | | 204 |205 | 206 | | 207 |
| 210 | {{ ` 211 | 212 | `}} 213 | | 214 |215 | 216 | | 217 |
| Example | 226 |
|---|
| 232 | 233 | | 234 |
| 237 | 238 | | 239 |
| 242 | 245 | | 246 |
{{ $t('Hello World') }} {{ $t("Hello, how are you?") }} {{ $t(`Hey. I'm watching you!`) }}
422 | 423 | 425 | 426 |