@victor-dklv/vue3-npm

For global use
1,324
Install
npm install @victor-dklv/vue3-npm@1.1.8
Latest Version:1.1.8
Vue:3
License:ISC
Last Updated:Nov 7, 2022
Links: GitHub  ·  npm
Maintainer: victor-dklv

DKLV packages for vuejs 3

Installation

npm install --save @victor-dklv/vue3-npm

For global use

After installation go to your main.js and add the package:

import plugin from '@victor-dklv/vue3-npm'

Add the plugin to your app:

createApp(App).use(plugin)

For local use

After installation go to your vue component and add the package:

import /*component name*/ from '@victor-dklv/vue3-npm'

export default {
    components:{
        /*component name*/
    }
}

//Components are listed below

To update

npm update --save @victor-dklv/vue3-npm

Components


Image slider

To use the image slider add the dklv-image-slider to your component.

Variables:
  • image1
    • Type: String
    • Expected: Url
    • Required: True
  • image2
    • Type: String
    • Expected: Url
    • Required: True
Example
 <dklv-image-slider :image1="rightImg" :image2="leftImg" />

To use the image carousel add the dklv-image-carousel to your component.

Variables:
  • images
    • Type: Array
    • Expected: Array of urls
    • Required: True
  • height
    • Type: Number
    • Expected: Height in px
    • Required: False
  • autoscroll
    • Type: Boolean
    • Expected: true or false
    • Required: False
Example
 <dklv-image-carousel :imagelist="imgList" :height="carouselHeight" />
To do
  • Add Autoscroll functionalities

Developing

For development enviroment

# Install dependencies
npm install

# Run development server
npm run dev

Login as npm user

# Check if user is logged in
npm whoami

# Login as authorized user
npm login

Update code from terminal

# Build the updates
npm run build; 

# Commit the changes to git
git add --all; 
$date = Get-Date -Format "dd/MM/yyy HH:mm"; 
git commit -m "Autocommit $date";

#Get new patch version and publish to npm
npm version patch;
npm publish --acces=public

#push all changes to git
git push;

Next features

Feature Status
Cards with title, subtitle, text, image and button Open

Version History

Version Released Vue License
1.1.8 ^3.2.21 ISC
1.1.7 ^3.2.21 ISC
1.1.6 ^3.2.21 ISC
1.1.5 ^3.2.21 ISC
1.1.4 ^3.2.21 ISC