Shishir Raven

I code things

Blog

Adding Sortable to a List in VueJS 3 in 3 Simple steps.

Step 1. Install vue.draggable.next Step 2 : Import and add as component Step 2 : Use it as follows to create a Loop. Note: Don’t replace “element” with the model name. I was making this mistake and it took me a while that it has to remain as element name only.
Author
Shishir Raven
Filed Under
Published
March 30, 2022
Read the Article

Fastest way to use ⚡ Vite + Vue 3 + Tailwind CSS ✔

This starter template includes: Vite 3 Vue 3 Tailwind CSS 3 Vue Router Getting Started Run the following inside your new project folder. npx degit shishirraven/vue_tailwind_starter_template npm i npm run dev npm run build npm run serve Vue 3 + Vite This template should help get you started developing with Vue 3 in Vite. The […]
Author
Shishir Raven
Filed Under
Published
February 12, 2022
Read the Article

Setting Predefined names for JS chunks on VueJS Build.

What is hash and why is it add it to the files while you build the project. Whenever we are generating project building a project automatically in the JS folder and which are included in the main index file have a hash attached to it. Hash is nothing but a kind of random string which […]
Author
Shishir Raven
Filed Under
Published
February 5, 2022
Read the Article

How to use Bootstrap SASS with VueJS.

Bootstrap and why it so Good and should I use it with Vue? Bootstrap is a great CSS framework and has been dominating the CSS scene. The primary reason why bootstrap has been a great framework is the ability that it provides to not only designers but also to the developers to build UI faster. […]
Author
Shishir Raven
Filed Under
Published
February 3, 2022
Read the Article

Enabling Filters for Meta Fields in the WordPress Rest API.

WordPress has been an excellent platform and as of now it is gaining popularity as a headless CMS. And I too have chosen to keep WordPress as a headless CMS. And why not WordPress has lots of great features and a very active development community. I mean no software is perfect and the best next […]
Author
Shishir Raven
Published
January 25, 2022
Read the Article

WordPress REST API. Sorting/Orderby for custom meta fields in WordPress and fixing “Invalid parameter(s): orderby”

Why? By default in WordPress you can only use the valid fields which are specified by each post type. Read more on WordPresss REST API documentation. This post is useful to you if you might be receiving an error as following. code “rest_invalid_param” message “Invalid parameter(s): orderby” How can you check which fields are available […]
Author
Shishir Raven
Published
January 24, 2022
Read the Article

Firebase Authentication for a VueJS project.

Firebase Authentication is a service that allows us to authenticate users with ease. In this article, we’ll learn how to use it in a VueJS application. If you need to register or sign in the users of your app, Firebase provides us with an easy way of doing so. Firebase Authentication provides authentication with Facebook, […]
Author
Shishir Raven
Filed Under
Published
October 9, 2021
Read the Article

Multiple Dividing a Path/Shape into multiple parts in PaperJS. Solution.

Problem. I had a shape, say a paper.js Circle that I wanted to divide into multiple parts, based on cut marks. Cut marks are basically lines which overlap the shape. The following is an example. Once I split the shapes they should look like the following.
Author
Shishir Raven
Filed Under
Published
September 15, 2021
Read the Article

How to Draw an Ellipsis inside a Quadrilateral with 4 points in Paper JS.

To draw a Ellipsis in Paper.js is quite simple and straightforward. You do not need to write a script to that. Problem But in my recent project I faced a situation where I had to draw a ellipsis kind of shape within 4 points (In my case they form a Rectangle.) The problem with the […]
Author
Shishir Raven
Filed Under
Published
March 22, 2021
Read the Article

WordPress Bulk Delete All comments

Why I need the Bulk Delete option? A few months back I launched a WordPress Website and today when I visited it I saw that my blog has 10,326 Comments. I knew the moment when I saw it that this is all spam. Why the existing Bulk Delete option in WordPress Sucks? Alternate solution. The […]
Author
Shishir Raven
Filed Under
Published
February 24, 2021
Read the Article
1 2 3 4 7