Search

Nalezeno "vue": 116

How the Vue Composition API Replaces Vue Mixins


Looking to share code between your Vue components? If you’re familiar with Vue 2, you’ve probably used a mixin for this purpose. But the new Composition API, which is available now as a plugin for Vue 2 and an upcoming feature of Vue 3, provides a much better solution. In this article...

Vue.js: The Documentary


Hey how cool! A documentary about Vue! Good timing as it looks like VueConf is happening right now. (Reminder we have a site for conferences to tell you stuff like that). Sarah appears in it (about 21:13) and talks about CSS-Tricks for a second, so we're officially super famous now and I have...

Collective #594


Vue.js: The Documentary * Negative margins in CSS * Rome * Beastnotes * HTML: The Inaccessible Parts Collective #594 was written by Pedro Botelho and published on Codrops

How to Build Vue Components in a WordPress Theme


The inline-template directive allows us to build rich Vue components as a progressive enhancement over existing WordPress markup. The post How to Build Vue Components in a WordPress Theme appeared first on CSS-Tricks

Moving from Vanilla JavaScript to a Reusable Vue Component


I recently wrote an article explaining how you can create a countdown timer using HTML, CSS and JavaScript. Now, let’s look at how we can make that a reusable component by porting it into Vue using basic features that the framework provides. Why do this...

Getting Acquainted With Svelte, the New Framework on the Block


For the last six years, Vue, Angular, and React have run the world of front-end component frameworks. Google and Facebook have their own sponsored frameworks, but they might leave a bitter taste for anyone who advocates for an open and unbiased web. Vue is another popular framework that...

How To Create A Headless WordPress Site On The JAMstack


Just this morning, Chris shared a streamlined way to get a static site up and running with Netlify. As it happens, Sarah and I also wrote up a little something that expands that idea where a static site can pull content from WordPress using the REST API. Using Vue, Nuxt, axios and Netlify, it's...

The Web in 2020: Extensibility and Interoperability


In the past few years, we’ve seen a lot of change and diversion in regard to web technologies. In 2020, I foresee us as a web community heading toward two major trends/goals: extensibility and interoperability. Let’s break those down. Extensibility Extensibility describes...

Case Study: itsnotviolent.com


A case study that explores the motivation, design and implementation behind the itsnotviolent.com awareness campaign website made by Locomotive. Case Study: itsnotviolent.com was written by Marie-Christine Dion and published on Codrops

How We Tagged Google Fonts and Created goofonts.com


GooFonts is a side project signed by a developer-wife and a designer-husband, both of them big fans of typography. We’ve been tagging Google Fonts and built a website that makes searching through and finding the right font easier. GooFonts uses WordPress in the back end...

One Way to Break Users Out of the Habit of Reloading Too Much


Page reloads are a thing. Sometimes we refresh a page when we think it’s unresponsive, or believe that new content is available. Sometimes we’re just mad at the dang site and rage-refresh to let it know we’re displeased. Wouldn’t be nice to know when a user refreshes the page? Not just that,...

Stream-Crossing Confusion


Should I use WordPress or React hooks? Should I use D3 or CSS? Should I use Markdown or JSON? Can I use flexbox in Gatsby? Can I use custom properties in Jekyll? Should I use HTML or the cloud? How do I add dark mode to my Vue site? These are tongue-in-cheek, but there is a point to be made here....

Detecting Inactive Users


Most of the time you don’t really care about whether a user is actively engaged or temporarily inactive on your application. Inactive, meaning, perhaps they got up to get a drink of water, or more likely, changed tabs to do something else for a bit. There are situations, though, when tracking...

An Early Look at the Vue 3 Composition API in the Wild


I recently had an opportunity to try the new Vue Composition API in a real project to check where it might be useful and how we could use it in the future. Until now, when we were creating a new component we were using Options API. That API forced us to separate the component’s code by options...

Become a Front-End Master in 2020 With These 10 Project Ideas


This is a little updated cross-post from a quickie article I wrote on DEV. I'm publishing here 'cuz I'm all IndieWeb like that. I love this post by Simon Holdorf. He's got some ideas for how to level up your skills as a front-end developer next year. Here they are: Build a movie search app using...

Recipes for Performance Testing Single Page Applications in WebPageTest


WebPageTest is an online tool and an Open Source project to help developers audit the performance of their websites. As a Web Performance Evangelist at Theodo, I use it every single day. I am constantly amazed at what it offers to the web development community at large and the web performance folks...

An Explanation of How the Intersection Observer Watches


There have been several excellent articles exploring how to use this API, including choices from authors such as Phil Hawksworth, Preethi, and Mateusz Rybczonek, just to name a few. But I’m aiming to do something a bit different here. I had an opportunity earlier in the year to present the VueJS...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace