Vue Query

Hooks for fetching, caching and updating asynchronous data in Vue. Install vue-query npm install vue-query # or yarn add vue-query If you are using Vue 2.x, make sure to also setup @vue/composition-api Initialize Vue Query via VueQueryPlugin import { createApp } from “vue”; import { VueQueryPlugin } from “vue-query”; import App from “./App.vue”; createApp(App).use(VueQueryPlugin).mount(“#app”); Use query import { defineComponent }… Continue reading Vue Query

VueUse – Utility Functions

Description: VueUse is a collection of useful utility functions that help with state management, browser APIs, and performance optimizations. Installation: npm install @vueuse/core Example: Dark Mode Toggle import { useDark } from ‘@vueuse/core’ const isDark = useDark() <template> <button @click=”isDark = !isDark”>Toggle Dark Mode</button> </template>

Vue Draggable

Vue component (Vue.js 2.0) or directive (Vue.js 1.0) allowing drag-and-drop and synchronization with view model array. Based on and offering all features of Sortable.js Description: Makes elements draggable and reorderable with Vue.js. Installation: npm install vuedraggable Example Usage <script setup> import { ref } from ‘vue’ import draggable from ‘vuedraggable’ const items = ref([‘Item 1’, ‘Item… Continue reading Vue Draggable

Vue Chart.js – Data Visualization

vue-chartjs is a wrapper for Chart.js in Vue. You can easily create reuseable Install this library with peer dependencies: pnpm add vue-chartjs chart.js # or yarn add vue-chartjs chart.js # or npm i vue-chartjs chart.js Then, import and use individual components: <template> <Bar :data=”data” :options=”options” /> </template> <script lang=”ts”> import { Chart as ChartJS, Title,… Continue reading Vue Chart.js – Data Visualization

Pinia Plugin Persistedstate

Features Persist Pinia stores with a friendly API inspired by vuex-persistedstate. Highly customizable (storage, serializer, paths picking/omitting). Out of the box SSR-friendly support for Nuxt. Very smol (<2kB minzipped). Quickstart Install with your favorite package manager: pnpm : pnpm add pinia-plugin-persistedstate npm : npm i pinia-plugin-persistedstate yarn : yarn add pinia-plugin-persistedstat Add the plugin to pinia: import { createPinia } from… Continue reading Pinia Plugin Persistedstate

Vue Router Navigating with Ease in Vue.js

Vue Router is the official routing library for Vue.js, enabling developers to build single-page applications (SPAs) with smooth navigation. It manages URL-based navigation and supports dynamic routes, nested routes, and lazy loading.

Retrieving the child item name, where the name contains special characters.

let itemSearch = search.create({   type: search.Type.ITEM,   columns: [‘internalid’, ‘name’, ‘parent’],   filters: [     [“type”, “anyof”, “InvtPart”],     “AND”,     [“isinactive”, “is”, “F”]   ] }); let pagedData = itemSearch.runPaged({ pageSize: 1000 }); pagedData.pageRanges.forEach(pageRange => {   let page = pagedData.fetch({ index: pageRange.index });   page.data.forEach(result => {     items.push({       id: result.getValue(‘internalid’),       name: result.getText(‘parent’) ? result.getValue(‘name’).replace(result.getText(‘parent’) + ‘ : ‘, ”) : result.getValue(‘name’),… Continue reading Retrieving the child item name, where the name contains special characters.

Creating a Pop-Up Page in Vue.js: A Step-by-Step Guide

In Vue.js, creating a pop-up page (or modal) from a main page is a common feature for many web applications. Whether it’s for displaying a form, image, or any other content, implementing a pop-up page is quite simple. In this guide, we’ll walk through how to create a pop-up page and how to manage its… Continue reading Creating a Pop-Up Page in Vue.js: A Step-by-Step Guide

Reducing Inventory Using Inventory Adjustment in NetSuite

Inventory adjustments in NetSuite allow businesses to correct stock levels, account for lost or damaged goods, and reconcile discrepancies. This ensures accurate inventory tracking and financial reporting. Steps to Reduce Inventory Using Inventory Adjustment Navigate to Inventory Adjustment Go to Transactions > Inventory > Adjust Inventory. Select Adjustment Account Choose the appropriate account to reflect… Continue reading Reducing Inventory Using Inventory Adjustment in NetSuite