• This repository has been archived on 31/Mar/2023
  • Stars
    star
    452
  • Rank 96,761 (Top 2 %)
  • Language
    CSS
  • License
    MIT License
  • Created over 5 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Free Vue Admin Template by PrimeVue

Sakai Admin Template for Vue

Live Preview

Visit Sakai Vue website for a live preview.

Getting Started

Sakai is an application template for Vue based on the Vue CLI that provides out-of-the-box standard tooling for Vue projects. To get started, clone this repository from GitHub and install the dependencies with npm or yarn.

npm install

or

yarn

Next step is running the application using the serve script and navigate to http://localhost:8080/ to view the application. That is it, you may now start with the development of your application using the Sakai template.

npm run serve

Vue CLI Scripts

Following commands are derived from create-app-app.

"npm run serve": Starts the development server
"npm run build": Builds the application for deployment.
"npm run lint": Executes the lint checks.
"npm run test:unit": Runs the tests.

Structure

Sakai consists of 2 main parts; the application layout and the resources. App.vue inside src folder is the main component containing the template for the base layout whereas required resources such as SASS structure for the layout are placed inside the src/assets/ folder.

Layout Components

Main layout is the template of the App.vue, it is divided into a couple of child components such as topbar, menu and footer. Here is template of the App.vue component that implements the logic such as menu state, layout modes and so on.

Menu

Menu is a separate component defined in AppMenu.vue file based on PrimeVue MenuModel API. In order to define the menuitems, navigate to data section of App.vue file and define your own model as a nested structure using the menu property.

Dependencies

Dependencies of Sakai are listed below and needs to be added to package.json.

{
    "primevue": "~3.12.2",
    "primeicons": "~5.0.0",
    "primeflex": "~3.1.2",
}

PrimeVue Theme

Sakai uses the free Saga, Arya and Vela themes which are distributed within PrimeVue, however it can be used with any PrimeVue theme as well such as material, tailwind and bootstrap as layout colors are derived from the theme used via CSS variables.

SASS Variables

In case you'd like to customize the layout variables, open _variables.scss file under src/layout folder. The list is pretty short as majority of the variables are derived from the PrimeVue theme being used.

src/assets/_variables.scss

$fontSize:1rem;
$borderRadius:12px;
$transitionDuration:.2s;

More Repositories

1

primeng

The Most Complete Angular UI Component Library
CSS
9,964
star
2

primevue

Next Generation Vue UI Component Library
Vue
9,410
star
3

primereact

The Most Complete React UI Component Library
CSS
6,409
star
4

primefaces

Ultimate Component Suite for JavaServer Faces
Java
1,770
star
5

sakai-react

Free React Admin Template
CSS
833
star
6

primeflex

PrimeFlex is a lightweight responsive CSS utility library to accompany Prime UI libraries and static webpages as well
JavaScript
602
star
7

sakai-vue

JavaScript
598
star
8

sakai-ng

Free Angular Admin Template by PrimeNG
CSS
544
star
9

primevue-tailwind

PrimeVue Components Styled with Tailwind CSS
JavaScript
521
star
10

primeui

Rich set of javascript-css only widgets
HTML
281
star
11

primeicons

Icon Library for Prime UI Libraries
HTML
255
star
12

primeng-quickstart-cli

CLI Setup for PrimeNG
TypeScript
186
star
13

primevue-examples

PrimeVue Example Projects
Vue
122
star
14

sakai-nuxt

Free Admin Template for Nuxt 3
CSS
113
star
15

primereact-examples

PrimeReact Example Projects
JavaScript
108
star
16

primeng-sass-theme

PrimeNG Theming with SASS
SCSS
107
star
17

primereact-quickstart

CSS
103
star
18

primefaces-showcase-legacy

Demo Application
HTML
88
star
19

primevue-nuxt-module

TypeScript
72
star
20

primelocale

JavaScript
69
star
21

primevue-sass-theme

PrimeVue Theming with SASS
SCSS
66
star
22

primevue-quickstart-vite

Starter application with Vite, Vue 3 and PrimeVue 3
Vue
42
star
23

primevue-quickstart-nuxt3

JavaScript
40
star
24

primereact-typescript-quickstart

Quickstart Application for PrimeReact with Typescript
TypeScript
37
star
25

primefaces-test

Sample project to provide test cases
Java
35
star
26

primereact-sass-theme

PrimeReact Theming with SASS
SCSS
29
star
27

themes

Community Themes
CSS
28
star
28

primefaces-sass-theme

PrimeFaces Theming with SASS
SCSS
14
star
29

sakai-react-next

CSS
9
star
30

primeui-distribution

Distribution repository for PrimeUI
JavaScript
8
star
31

maven-jsf-plugin

Code Generator for Core
Java
8
star
32

primevue-tailwind-preset-template

Template for a Custom PrimeVue Tailwind Preset
Vue
8
star
33

primereact-tailwind

PrimeReact Components Styled with Tailwind CSS
JavaScript
7
star
34

tailwindcss-primeui

Tailwind CSS Utilities for Prime UI Libraries
JavaScript
7
star
35

landing

Landing Pages of UI Libraries
HTML
5
star
36

primeng-issue-template

PrimeNG Issue Template
TypeScript
5
star
37

primeblazor

Blazor UI Component Library
CSS
4
star
38

primevue-quickstart-create-vue-ts

CSS
3
star
39

primeng-examples

PrimeNG Example Projects
SCSS
3
star
40

legacy

PrimeFaces for JSF 1.2
JavaScript
2
star
41

primeuix

TypeScript
2
star
42

primeclt

Command Line Tools for Prime UI Component Libraries
CSS
2
star
43

primeflex-landing

HTML
1
star
44

primefaces.github.io

Page for PrimeFaces.org
HTML
1
star
45

primevue-quickstart-create-vue

CSS
1
star
46

postcss-primeflex

PrimeFlex PostCSS Plugin
JavaScript
1
star
47

primereact-reboot

CSS
1
star