GithubHelp home page GithubHelp logo

silsilah-keluarga's Introduction

Silsilah Keluarga

Getting Started

Aplikasi silsilah keluarga dengan basis Vue CLI (https://cli.vuejs.org/). Untuk memulai, clone repository ini dari GitHub dan install dependencies dengan npm atau yarn.

npm install

or

yarn

Tahap selanjutnya adalah menjalankan aplikasi menggunakan perintah serve dan buka alamat url http://localhost:8080/ untuk melihat aplikasi

npm run serve

Menggunakan "Sakai Admin Template for Vue" sebagai basis tampilan dengan beberapa modifikasi dibeberapa bagian

Live Preview "Sakai Admin Template for Vue"

Visit Sakai Vue website for a live preview.

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",
}

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;

silsilah-keluarga's People

Contributors

ruririzal avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.