Coder Social home page Coder Social logo

nlien / vuetify-toolkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kolesnikovav/vuetify-toolkit

0.0 0.0 0.0 6.93 MB

The set of additional vuetify components

License: MIT License

JavaScript 3.76% HTML 0.96% Vue 29.65% TypeScript 65.26% Shell 0.08% Sass 0.28%

vuetify-toolkit's Introduction

vuetify-toolkit

Travis (.org) branch npm npm

The set of additional vuetify components, for using with vuetify.js library

Live demo

See Live demo & documentation.

Components

Installation

yarn add vuetify-toolkit

or

npm i vuetify-toolkit --save

Basic usage

Change your src/plugins/vuetify.js file as follows

      import Vue from 'vue';
      import Vuetify from 'vuetify/lib';

      import {
        VTreeSelect,
        VCascader,
        VDataGridSelect,
        VDateTimeSelect,
        VAdvDataTable,
        VMdView } from 'vuetify-toolkit/vuetify-toolkit.umd'
      Vue.use(Vuetify,{
          VTreeSelect,
          VCascader,
          VDataGridSelect,
          VDateTimeSelect,
          VAdvDataTable,
          VMdView
      });
      export default new Vuetify({
        icons: {
        iconfont: 'mdi',
        },
      });

Then, you can use this components as

<template>
  <div>
    <v-tree-select>
      <!--  -->
    </v-tree-select>
    <v-cascader>
      <!--  -->
    </v-cascader>
    <v-data-grid-select>
      <!--  -->
    </v-data-grid-select>
    <v-date-time-select>
      <!--  -->
    </v-date-time-select>
    <v-adv-data-table>
      <!--  -->
    </v-adv-data-table>
    <v-md-view>
      <!--  -->
    </v-md-view>
  </div>
</template>

CDN usage

You can use this library directly via cdn. Bellow is the example how you can do it

<!DOCTYPE html>
<html>
<head>
  <link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet">
  <link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet">
  <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.min.css" rel="stylesheet">
  <link href="https://cdn.jsdelivr.net/npm/[email protected]/vuetify-toolkit.css rel="stylesheet">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
</head>
<body>
  <div id="app">
    <v-app>
      <v-main>
        <v-tree-select/>
        <v-container>Hello world</v-container>
      </v-main>
    </v-app>
  </div>

  <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/[email protected]/vuetify-toolkit.umd.js"></script>
  <script>
    new Vue({
      el: '#app',
      vuetify: new Vuetify(),
    })
  </script>
</body>
</html>

Hello world example

Here is the sample project with vuetify-toolkit, built with vue cli

Codesandbox example

See

Contributing

Any help for this project are welcome. Please read the Contributing Guide

vuetify-toolkit's People

Contributors

dependabot[bot] avatar kolesnikovav 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.