Giter Site home page Giter Site logo

frappevue_adminlte's Introduction

FrappeVue AdminLTE

Vue-based AdminLTE dashboard for Frappe and ERPNext

Features

  • AUTHENTICATION: Login is inbuilt by default and can be used as below:
    • this.$frappe.login({usr:'user': pwd:'password'}) //token based authentication is used on successful login.
  • API: Access data using:
    • this.$frappe.get_doc(doctype, docname)
    • this.$frappe.get_list(doctype, filters) // filters is optional
    • this.$frappe.new_doc(doctype, body) //body = {}
    • this.$frappe.update_doc(doctype, docname, body)
    • this.$frappe.delete_doc(doctype, docname)
    • this.$frappe.getPDF(doctype, docname) // OPTIONAL: format, Standard, no_letterhead, letterhead, lang
  • REUSABLE COMPONENTS:
    • DataTable // for generating doctype data list, auto repackage datatable.
  • UTILITIES:
    • formatCurrency(amount, currency)
    • this.popIt.error(title, message) // show error modal
    • this.popIt.success(title, message) // show success modal

NOTE

this keywork can be directly accessed in VUEJS component, this.$frappe can be redefined as let frappe = this.$frappe

PROJECT SETUP

  • INITIAL CONFIGURATION

    • add .appConfig.json to the root folder (same location with package.json)
    • Add configuration in the format { "domain": "https://exampledomain.com", "frappe_custom_app":"frappeauth_app" }
    • frappeauth_app may remain unchanged except you have a custom authentication app.
    • frappeauth_app is REQUIRED to in your frappe/erpnext server, install from https://github.com/mymi14s/frappeauth_app
  • NODE SETUP

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Customize configuration

See Configuration Reference.

Screenshot

LOGIN

Login

DASHBOARD

Dashboard

INVOICES

Language changed

INVOICE DETAIL

Language changed

frappevue_adminlte's People

Contributors

mymi14s avatar nishwan-abbas avatar

Watchers

 avatar

Forkers

admin627863

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.