Vue.js Archives - draghici.net https://draghici.net/tag/vue-js/ A web developer's ideas Wed, 10 Apr 2024 12:31:48 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.5 https://draghici.net/app/uploads/2017/06/cropped-keyboard-grayscale-150x150.jpg Vue.js Archives - draghici.net https://draghici.net/tag/vue-js/ 32 32 A modern Vue 3 application for showing TV shows information https://draghici.net/a-modern-vue-3-application-for-showing-tv-shows-information/ Wed, 14 Sep 2022 16:41:00 +0000 https://draghici.net/?p=4466 We will use Typescript, Vue 3, vite, pinia, cypress and other fancy things to create an app which will consume the TVmaze API to display movie information. We will use an open TV shows API http://www.tvmaze.com/api to create an application that allows users to view a few lists (preferable horizontal list) of TV shows based […]

The post A modern Vue 3 application for showing TV shows information appeared first on draghici.net.

]]>
Jest error: “Ran 100000 timers, and there are still more!” https://draghici.net/jest-error-ran-100000-timers-still/ Fri, 26 Jan 2018 00:32:12 +0000 https://draghici.net/?p=959 Vue.js jest tests error encountered: “Ran 100000 timers, and there are still more! Assuming we’ve hit an infinite recursion and bailing out”. Using mock could be a solution. E.g. jest.mock('lodash/debounce', () => jest.fn(fn => fn)); or jest.mock('lodash.debounce', () => jest.fn(fn => fn)); Add the file above in your files, before your code. Source:

The post Jest error: “Ran 100000 timers, and there are still more!” appeared first on draghici.net.

]]>
A first glance at Vue.js https://draghici.net/first-glance-vue-js/ Tue, 05 Dec 2017 12:56:40 +0000 https://draghici.net/?p=915 I have started building a contacts application in Vue.js with Vuex. So far I have accoplished: setting up the development space and the project with bootstrap-vue – https://bootstrap-vue.js.org/docs/components/list-group/ setting up basic tests; building the authentication system, JWT based; building the basic interface for contacts and a dashboard component. Pros so far: I like the way […]

The post A first glance at Vue.js appeared first on draghici.net.

]]>
Special HelloWorld.vue component https://draghici.net/special-helloworld-vue-component/ Mon, 04 Dec 2017 12:47:59 +0000 https://draghici.net/?p=909 This is a first version of a rough around the edges Vue.js component. I built it as fast as possible. I just used lodash as a dependency.

The post Special HelloWorld.vue component appeared first on draghici.net.

]]>