1575456218
Allows your images to open in full size.
npm install vue-expandable-image
You have two ways to setup vue-expandable-image
:
source-js
import VueExpandableImage from 'vue-expandable-image'
Vue.use(VueExpandableImage)
source-js
var VueExpandableImage = require('vue-expandable-image')
Vue.use(VueExpandableImage)
Include it directly with a <script>
tag. In this case, you don’t need to write Vue.use(VueExpandableImage)
, this will be done automatically for you.
You can check this CodePen to see how it works.
Just replace your <img>
tag with <expandable-image/>
, and it should work!
If you see your image is broken even though it works on <img/>
, it means you’re passing a relative path (like ../assets/image.jpg
) but not loading it through Webpack. Check out this for more details.
To fix this issue, you have to load the image explicitly through Webpack before passing it to src
. And you can do this using require(imagePath)
.
Example:
text-html-basic
<expandable-image
:src="require('../assets/image.jpg')"
/>
Prop | Default | Description |
---|---|---|
close-on-background-click | false |
Clicking on the background closes the image |
#vuejs #javascript #programming
1600583123
In this article, we are going to list out the most popular websites using Vue JS as their frontend framework.
Vue JS is one of those elite progressive JavaScript frameworks that has huge demand in the web development industry. Many popular websites are developed using Vue in their frontend development because of its imperative features.
This framework was created by Evan You and still it is maintained by his private team members. Vue is of course an open-source framework which is based on MVVM concept (Model-view view-Model) and used extensively in building sublime user-interfaces and also considered a prime choice for developing single-page heavy applications.
Released in February 2014, Vue JS has gained 64,828 stars on Github, making it very popular in recent times.
Evan used Angular JS on many operations while working for Google and integrated many features in Vue to cover the flaws of Angular.
“I figured, what if I could just extract the part that I really liked about Angular and build something really lightweight." - Evan You
#vuejs #vue #vue-with-laravel #vue-top-story #vue-3 #build-vue-frontend #vue-in-laravel #vue.js
1578061020
Icons are the vital element of the user interface of the product enabling successful and effective interaction with it. In this article, I will collect 10 Vue icon component to bring more interactivity, better UI design to your Vue application.
A clean and simple Vue wrapper for SweetAlert’s fantastic status icons. This wrapper is intended for users who are interested in just the icons. For the standard SweetAlert modal with all of its bells and whistles, you should probably use Vue-SweetAlert 2
Demo: https://vue-sweetalert-icons.netlify.com/
Download: https://github.com/JorgenVatle/vue-sweetalert-icons/archive/master.zip
Create 2-state, SVG-powered animated icons.
Demo: https://codesandbox.io/s/6v20q76xwr
Download: https://github.com/kai-oswald/vue-svg-transition/archive/master.zip
Awesome SVG icon component for Vue.js, with built-in Font Awesome icons.
Demo: https://justineo.github.io/vue-awesome/demo/
Download: https://github.com/Justineo/vue-awesome/archive/master.zip
Transitioning Result Icon for Vue.js
A scalable result icon (SVG) that transitions the state change, that is the SVG shape change is transitioned as well as the color. Demonstration can be found here.
A transitioning (color and SVG) result icon (error or success) for Vue.
Demo: https://transitioning-result-icon.dexmo-hq.com/
Download: https://github.com/dexmo007/vue-transitioning-result-icon/archive/master.zip
Easily add Zondicon icons to your vue web project.
Demo: http://www.zondicons.com/icons.html
Download: https://github.com/TerryMooreII/vue-zondicons/archive/master.zip
Vicon is an simple iconfont componenet for vue.
iconfont
iconfont is a Vector Icon Management & Communication Platform made by Alimama MUX.
Download: https://github.com/Lt0/vicon/archive/master.zip
A tool to create svg icon components. (vue 2.x)
Demo: https://mmf-fe.github.io/vue-svgicon/v3/
Download: https://github.com/MMF-FE/vue-svgicon/archive/master.zip
This library is a collection of Vue single-file components to render Material Design Icons, sourced from the MaterialDesign project. It also includes some CSS that helps make the scaling of the icons a little easier.
Demo: https://gitlab.com/robcresswell/vue-material-design-icons
Download: https://gitlab.com/robcresswell/vue-material-design-icons/tree/master
Vue Icon Set Components from Ionic Team
Design Icons, sourced from the Ionicons project.
Demo: https://mazipan.github.io/vue-ionicons/
Download: https://github.com/mazipan/vue-ionicons/archive/master.zip
Dead easy, Google Material Icons for Vue.
This package’s aim is to get icons into your Vue.js project as quick as possible, at the cost of all the bells and whistles.
Demo: https://material.io/resources/icons/?style=baseline
Download: https://github.com/paulcollett/vue-ico/archive/master.zip
I hope you like them!
#vue #vue-icon #icon-component #vue-js #vue-app
1620289849
Codeigniter compress image size. In this tutorial, you will learn how to upload and compress image size in codeigniter app.
This tutorial will guide you step by step on how to compress image size and upload in codeigniter app. And you can easily compress any image type like png, jpg, jpeg, gif etc.
Follow the following steps and you can easily compress image size in codeigniter app:
https://www.tutsmake.com/codeigniter-4-image-size-compress-example/
#codeigniter compress image size #codeigniter compress image size example #codeigniter 4 compress image size #image resize in codeigniter
1578472348
Vue highlight is often used to highlight text and syntax. Here are the 7 Vue highlight components I’ve collected.
Vue3 Snippets, This extension adds Vue3 Code Snippets into Visual Studio Code.
Vim syntax and indent plugin for vue files
Vue directive for highlight multiple istances of a word.
Beautiful code syntax highlighting as Vue.js component.
A dead simple code editor with syntax highlighting and line numbers. 7kb/gz
Features
A simple port from react-highlight-words
Vue component to highlight words within a larger body of text.
Vue component for highlight multiple istances of a word.
Thank for read!
#vue-highlight #vue #vue-highlight-component #highlight-vue
1578887690
Vue Image zoom is a UI component that enables the visitor to zoom in/out images on the applications.
In this blog post, I’d like to share with you the 5 best Vue.js image zoom components that make it easier to implement the image zoom functionality on your web application.
a advanced zoombox.
A Image Zoomer For Eshop Website.Saving Your Time…
A Vue.js 2+ image zoom component which applies a magnifying glass effect to images.
this vue.js component displays an image with the width of the parent element and on hover shows the full image or a scaled image in the image area
Zoom the image or other thing with mouse or touch
I hope you like it!
#vue-zoom #vue-image-zoom #image-zoom-component