├── .editorconfig ├── .eslintrc.cjs ├── .gitignore ├── .prettierrc.json ├── .vscode ├── extensions.json └── settings.json ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── index.html ├── jsconfig.json ├── package-lock.json ├── package.json ├── postcss.config.js ├── public ├── demo │ ├── data │ │ ├── countries.json │ │ ├── customers-large.json │ │ ├── customers-medium.json │ │ ├── events.json │ │ ├── icons.json │ │ ├── photos.json │ │ ├── products-orders-small.json │ │ ├── products-small.json │ │ ├── products.json │ │ ├── treenodes.json │ │ └── treetablenodes.json │ └── images │ │ ├── access │ │ └── asset-access.svg │ │ ├── error │ │ └── asset-error.svg │ │ ├── flag │ │ └── flag_placeholder.png │ │ ├── landing │ │ ├── enterprise.svg │ │ ├── free.svg │ │ ├── mockup-desktop.svg │ │ ├── mockup.svg │ │ ├── new-badge.svg │ │ ├── peak-logo.svg │ │ ├── screen-1.png │ │ └── startup.svg │ │ ├── logo-white.svg │ │ └── logo.svg └── favicon.ico ├── src ├── App.vue ├── assets │ ├── demo │ │ ├── code.scss │ │ ├── demo.scss │ │ └── flags │ │ │ └── flags.css │ ├── layout │ │ ├── _core.scss │ │ ├── _footer.scss │ │ ├── _main.scss │ │ ├── _menu.scss │ │ ├── _mixins.scss │ │ ├── _preloading.scss │ │ ├── _responsive.scss │ │ ├── _topbar.scss │ │ ├── _typography.scss │ │ ├── _utils.scss │ │ ├── layout.scss │ │ └── variables │ │ │ ├── _common.scss │ │ │ ├── _dark.scss │ │ │ └── _light.scss │ ├── styles.scss │ └── tailwind.css ├── components │ ├── FloatingConfigurator.vue │ ├── dashboard │ │ ├── BestSellingWidget.vue │ │ ├── NotificationsWidget.vue │ │ ├── RecentSalesWidget.vue │ │ ├── RevenueStreamWidget.vue │ │ └── StatsWidget.vue │ └── landing │ │ ├── FeaturesWidget.vue │ │ ├── FooterWidget.vue │ │ ├── HeroWidget.vue │ │ ├── HighlightsWidget.vue │ │ ├── PricingWidget.vue │ │ └── TopbarWidget.vue ├── layout │ ├── AppConfigurator.vue │ ├── AppFooter.vue │ ├── AppLayout.vue │ ├── AppMenu.vue │ ├── AppMenuItem.vue │ ├── AppSidebar.vue │ ├── AppTopbar.vue │ └── composables │ │ └── layout.js ├── main.js ├── router │ └── index.js ├── service │ ├── CountryService.js │ ├── CustomerService.js │ ├── NodeService.js │ ├── PhotoService.js │ └── ProductService.js └── views │ ├── Dashboard.vue │ ├── pages │ ├── Crud.vue │ ├── Documentation.vue │ ├── Empty.vue │ ├── Landing.vue │ ├── NotFound.vue │ └── auth │ │ ├── Access.vue │ │ ├── Error.vue │ │ └── Login.vue │ └── uikit │ ├── ButtonDoc.vue │ ├── ChartDoc.vue │ ├── FileDoc.vue │ ├── FormLayout.vue │ ├── InputDoc.vue │ ├── ListDoc.vue │ ├── MediaDoc.vue │ ├── MenuDoc.vue │ ├── MessagesDoc.vue │ ├── MiscDoc.vue │ ├── OverlayDoc.vue │ ├── PanelsDoc.vue │ ├── TableDoc.vue │ ├── TimelineDoc.vue │ └── TreeDoc.vue ├── tailwind.config.js ├── vercel.json └── vite.config.mjs /.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see https://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 4 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | max_line_length = off 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- 1 | /* eslint-env node */ 2 | require('@rushstack/eslint-patch/modern-module-resolution'); 3 | 4 | module.exports = { 5 | root: true, 6 | env: { 7 | node: true 8 | }, 9 | extends: ['plugin:vue/vue3-essential', 'eslint:recommended', '@vue/eslint-config-prettier'], 10 | parserOptions: { 11 | ecmaVersion: 'latest' 12 | }, 13 | rules: { 14 | 'vue/multi-word-component-names': 'off', 15 | 'vue/no-reserved-component-names': 'off', 16 | 'vue/component-tags-order': [ 17 | 'error', 18 | { 19 | order: ['script', 'template', 'style'] 20 | } 21 | ] 22 | } 23 | }; 24 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage 3 | *.log* 4 | .nuxt 5 | .nitro 6 | .cache 7 | .output 8 | .env 9 | dist 10 | .DS_Store 11 | .idea 12 | .eslintcache 13 | api-generator/typedoc.json 14 | **/.DS_Store 15 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "useTabs": false, 3 | "tabWidth": 4, 4 | "trailingComma": "none", 5 | "semi": true, 6 | "singleQuote": true, 7 | "vueIndentScriptAndStyle": false, 8 | "printWidth": 250, 9 | "bracketSameLine": false 10 | } 11 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"] 3 | } 4 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.codeActionsOnSave": { 3 | "source.fixAll.eslint": "explicit", 4 | "source.organizeImports": "explicit" 5 | }, 6 | "editor.defaultFormatter": "esbenp.prettier-vscode", 7 | "[javascript]": { 8 | "editor.defaultFormatter": "esbenp.prettier-vscode", 9 | "editor.formatOnSave": true 10 | }, 11 | "[vue]": { 12 | "editor.defaultFormatter": "esbenp.prettier-vscode", 13 | "editor.formatOnSave": true 14 | }, 15 | "[typescript]": { 16 | "editor.defaultFormatter": "esbenp.prettier-vscode", 17 | "editor.formatOnSave": true 18 | }, 19 | "[json]": { 20 | "editor.defaultFormatter": "esbenp.prettier-vscode", 21 | "editor.formatOnSave": true 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## 4.3.0 (2025-02-26) 4 | 5 | **Implemented New Features and Enhancements** 6 | 7 | - Update PrimeVue version 8 | 9 | ## 4.2.0 (2024-12-09) 10 | 11 | **Implemented New Features and Enhancements** 12 | 13 | - Refactored dashboard sections to components 14 | - Migrate sass from @import to @use 15 | 16 | ## 4.1.0 (2024-07-29) 17 | 18 | - Changed menu button location at topbar 19 | - Add border to overlay menu 20 | - Animation for mobile mask 21 | - Fixed chart colors 22 | 23 | ## 4.0.0 (2024-07-29) 24 | 25 | - Updated to PrimeVue v4 26 | 27 | ## 3.10.0 (2024-03-11) 28 | 29 | **Migration Guide** 30 | 31 | - Update theme files. 32 | 33 | **Implemented New Features and Enhancements** 34 | 35 | - Upgrade to PrimeVue 3.49.1 36 | 37 | ## 3.9.0 (2023-11-01) 38 | 39 | **Migration Guide** 40 | 41 | - Update theme files. 42 | 43 | **Implemented New Features and Enhancements** 44 | 45 | - Upgrade to PrimeVue 3.39.0 46 | 47 | ## 3.8.0 (2023-07-24) 48 | 49 | **Migration Guide** 50 | 51 | - Update theme files. 52 | - Update assets style files 53 | - Remove code highlight 54 | 55 | **Implemented New Features and Enhancements** 56 | 57 | - Upgrade to PrimeVue 3.30.2 58 | 59 | ## 3.7.0 (2023-05-06) 60 | 61 | - Upgrade to PrimeVue 3.28.0 62 | 63 | **Implemented New Features and Enhancements** 64 | 65 | ## 3.6.0 (2023-04-12) 66 | 67 | **Implemented New Features and Enhancements** 68 | 69 | - Upgrade to PrimeVue 3.26.1 70 | - Upgrade to vite 4.2.1 71 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018-2022 PrimeTek 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Sakai is an application template for Vue based on the [create-vue](https://github.com/vuejs/create-vue), the recommended way to start a Vite-powered Vue projects. 2 | 3 | Visit the [documentation](https://sakai.primevue.org/documentation) to get started. 4 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |Sed blandit libero volutpat sed cras. Fames ac turpis egestas integer. Placerat in egestas erat...
10 | 11 |6 | Sakai is an application template for Vue based on the create-vue, the recommended way to start a Vite-powered Vue 7 | projects. To get started, clone the repository from GitHub and install the dependencies with npm or yarn. 8 |
9 |
10 | git clone https://github.com/primefaces/sakai-vue
11 | npm install
12 | npm run dev
13 |
14 | Navigate to http://localhost:5173/ to view the application in your local environment.
15 | 16 |npm run dev
17 |
18 | Templates consists of a couple folders, demos and layout have been separated so that you can easily remove what is not necessary for your application.
20 |30 | Main menu is defined at src/layout/AppMenu.vue file. Update the model property to 31 | define your own menu items. 32 |
33 | 34 |36 | The src/layout/composables/layout.js is a composable that manages the layout state changes including dark mode, PrimeVue theme, menu modes and states. If you 37 | change the initial values like the preset or colors, make sure to apply them at PrimeVue config at main.js as well. 38 |
39 | 40 |The demo pages are developed with Tailwind CSS however the core application shell mainly uses custom CSS.
42 | 43 |45 | CSS variables used in the template derive their values from the PrimeVue styled mode presets, use the files under assets/layout/_variables.scss to customize 46 | according to your requirements. 47 |
48 | 49 |To get started, create a Nuxt project.
51 |
52 | npx nuxi@latest init sakai-nuxt
53 |
54 | Add Prime related libraries to the project.
55 |
56 | npm install primevue @primevue/themes tailwindcss-primeui primeicons
57 | npm install --save-dev @primevue/nuxt-module
58 |
59 | Add PrimeVue-Nuxt module to nuxt.config.js
60 |
61 | modules: [
62 | '@primevue/nuxt-module',
63 | ]
64 |
65 | Install Tailwind CSS with Nuxt using official documentation.
66 | 67 |68 | Add tailwindcss-primeui package as a plugin to tailwind.config.js 69 |
70 |
71 | plugins: [require('tailwindcss-primeui')]
72 |
73 | Add PrimeVue to in nuxt.config.js
74 |
75 | import Aura from '@primevue/themes/aura';
76 |
77 | primevue: {
78 | options: {
79 | theme: {
80 | preset: Aura,
81 | options: {
82 | darkModeSelector: '.app-dark'
83 | }
84 | }
85 | }
86 | }
87 |
88 | 89 | Copy src/assets folder and paste them to assets folder to your Nuxt project. 90 | And add to nuxt.config.js 91 |
92 |
93 | css: ['~/assets/tailwind.css', '~/assets/styles.scss']
94 |
95 | Change app.vue
96 |
97 | <template>
98 | <NuxtLayout>
99 | <NuxtPage />
100 | </NuxtLayout>
101 | </template>
102 |
103 | Create layouts/default.vue and paste this code:
104 |
105 | <script setup>
106 | import AppLayout from './AppLayout.vue';
107 | </script>
108 |
109 | <template>
110 | <AppLayout />
111 | </template>
112 |
113 | 114 | Create layouts folder and copy src/layout folder and paste them. And then 115 | create composables/use-layout.vue and replace it with 116 | src/layout/composables/layout.js. Then remove this line: 117 |
118 |
119 | import { useLayout } from '@/layout/composables/layout';
120 |
121 | As a final step, copy the following folders:
122 |Use this page to start from scratch and place your custom content.
5 |124 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 125 | consequat. 126 |
127 |131 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 132 | consequat. 133 |
134 |138 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 139 | consequat. 140 |
141 |145 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 146 | consequat. 147 |
148 |152 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo 153 | consequat. 154 |
155 |100 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, 101 | cupiditate neque quas! 102 |
103 | 104 | 105 |