Category: Programming

NuxtJS 0

How to handle resize event in Nuxt JS

NuxtJS 0

Loading Web Fonts with the Web Font Loader in Nuxt.JS

Several years ago the consensus on font loading in the community was that, as a website loads, all fonts should be hidden until the correct resources...

NuxtJS 0

How to solve ‘ReferenceError: window is not defined’ when importing Vue plugin in Nuxt.JS

I need to use Vue plugin named vue-flash-message in Nuxt.JS. I installed it via NPM and created file vue-flash-message.js in folder plugins. import Vue from ‘vue’;import VueFlashMessage from...

VueJS 2 Cookbook Cover 0

Vue.js 2 Cookbook

Vue.js is an open source JavaScript library for building modern, interactive web applications. With a rapidly growing community and a strong ecosystem, Vue.js makes developing complex single page applications a breeze. Its component-based approach, intuitive API, blazing fast core, and compact size make Vue.js a great solution to craft your next front-end application.

From basic to advanced recipes, this book arms you with practical solutions to common tasks when building an application using Vue. We start off by exploring the fundamentals of Vue.js: its reactivity system, data-binding syntax, and component-based architecture through practical examples.

After that, we delve into integrating Webpack and Babel to enhance your development workflow using single file components. Finally, we take an in-depth look at Vuex for state management and Vue Router to route in your single page applications, and integrate a variety of technologies ranging from Node.js to Electron, and Socket.io to Firebase and HorizonDB.

This book will provide you with the best practices as determined by the Vue.js community.

Symfony Test 0

How to remove “Remaining deprecation notices” while running Symfony test cases

Sometime, when you run some Symfony tests, there is a lot of deprecation warning like this: Solution: Just add below code <php> <env name=”SYMFONY_DEPRECATIONS_HELPER” value=”weak” />...

NuxtJS 0

How to use jQuery in NuxtJS

Today, I will guide you how to use jquery with NuxtJS project. npm install –save jquery. Open nuxt.config.js and add: That’s all! Hope this helpful for...

IntelliJ IDEA Logo 0

Generate JPA Entity Script

I am using IntelliJ IDEA to write Java code. It has built in script to generate POJOs class, but I want to generate JPA Entity classes....

Ten ways to become a better developer

Read other people’s code. ☑ Get someone to read your code. ☑ Fix bugs before writing new code. ☑ Learn a new technology. ☑ Keep it...

Spring Framework Logo 0

Note on migrating Spring Boot 1.5 to 2.0

1. Useful links First of all, you should read recommended links: https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Release-Notes https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Migration-Guide https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Configuration-Changelog https://spring.io/blog/2017/06/20/a-preview-on-spring-data-kay#improved-naming-for-crud-repository-methods 2. Tips and solution for problems Table ‘hibernate_sequence’ doesn’t exist Solution:...

NodeJS 0

Fix error when install npm package as global package

Today, I will guide you to fix error when install npm package as global package. I ran below command to install npm package as global package...

Python 3 0

Keep database connection on connecting to MySQL/MariaDB using SQLAlchemy

You want the database connection will be keep on connect to MySQL/MariaDB, just use pool_recycle parameter in method create_engine(). Example: create_engine(db_url, pool_recycle=1) pool_recycle this setting causes...

Python 3 0

During handling of the above exception, another exception occurred

Old code: New code:

%d bloggers like this: