Let SEO be with You in Your Nuxt App

Rate this content
Bookmark

Whether you're creating niche content or building a website for a client you must have your Nuxt project ready to support any SEO technique. Alba will present us the resources that can help your website to grow in search engines and how to implement them in Nuxt.

This talk has been presented at Vue.js London Live 2021, check out the latest edition of this JavaScript Conference.

FAQ

Alba Silvante is a front-end consultant at Passionate People NL, ambassador at Next and Stereo Block, and a Google Developers expert in spreading web technologies. She writes articles about web technologies and contributes to open source projects.

SEO stands for Search Engine Optimization. It is a digital marketing strategy that enhances your website's visibility in search engine results. SEO is crucial as it helps drive organic traffic to your site, increasing visibility and potential growth without the immediate need for visitors to know about your site beforehand.

Alba Silvante discusses two main concepts of SEO: on-page SEO, which focuses on optimizing elements of your website that you control like content and structure; and off-page SEO, which involves activities outside your website to improve domain authority, trust, and reputation through links and content on other sites.

In a Nuxt.js application, you can create a sitemap by installing the nuxt-js-sitemap module, configuring it in your project's module section with options such as hostname and routes, and optionally using a custom module to include dynamically generated routes post-build.

Structured data is a standardized format used to provide information about a page and classify the page content. In SEO, structured data helps search engines better understand the content of your site, potentially leading to richer search results (rich snippets) such as enhanced appearances and interactive features.

The RSS feed file is used to automate content distribution, such as updating subscribers with new posts or integrating with social media. It helps in keeping your audience engaged by providing timely updates, which can also contribute to improved SEO performance.

The MetaSEO Inspector extension for Chrome helps in reviewing and verifying the SEO readiness of a webpage. It checks meta tags, headings, structured data, and other SEO-related elements, identifying issues and ensuring that the SEO elements on the page are correctly implemented.

Alba Silvente Fuentes
Alba Silvente Fuentes
27 min
21 Oct, 2021

Comments

Sign in or register to post your comment.
Video Summary and Transcription
This Talk provides an introduction to SEO and its importance, covering on-page and off-page SEO. It explains how to optimize a website for search engines by creating a sitemap, using meta tags, and implementing structured data. The Talk also discusses the benefits of using RSS feeds for automated newsletters and social media posts. Additionally, it emphasizes the importance of continuous optimization for SEO, including adding useful content, organizing headings, optimizing UX, and staying updated with Core Web Vitals.

1. Introduction to SEO and Its Importance

Short description:

Hello everyone, my name is Alba Silvante and today I'm going to talk about Let's CoP with you in your NAS application. Let's see. SEO stands for Search Engine Optimization, which is a digital marketing strategy that focuses on your website's presence on search results on search engines like Google. SEO can help you drive more people to your site without them knowing your site. The key concepts that we will see today are on-page SEO and off-page SEO. On-page SEO focus on optimizing parts of your website that are within your control.

Hello everyone, my name is Alba Silvante and today I'm going to talk about Let's CoP with you in your NAS application. Let's see.

Well, first of all, I want to introduce myself a little bit. I'm a front-end consultant at Passionate People NL, a company that also created the BEES Amsterdam and EES World Conference. So I hope that you know it. And in my spare time, I'm writing articles about Next and Stereo Block because I really like these technologies and also about web performance. And I'm speaking at some conference as you can see now and also trying to contribute in open source because I really like open source and I hope to see you in GitHub. The past year, after creating my own blog and started writing articles, I have been named ambassador at Next and Stereo Block, the technologies I used to build my website also. And this year, in March, I had been named Google Developers Spreading Web Technologies because I was also sharing knowledge about it. And I'm so happy to have that role at the moment and I hope to help you with everything you want. So let's start.

Well, now let's see what we will see in this talk. First we will see what is SEO and why is it important for our application. Then we will see the key concepts behind SEO, the main important ones, obviously. And then we will see how to build a site map, how to define a robust file, the metadata and open graph that we can add to our site, and structured data, also called schema markup, that is also important for search engines. And the RSS feed file, that is important to automate everything you want to do with your post or recipes or whatever. And also the Metaseo Inspector extension that is only allowed for Chrome, but I hope that someday we will have it also in Mozilla. So let's start.

Well, what is SEO? SEO stands for Search Engine Optimization, which is a digital marketing strategy that focuses on your website's presence on search results on search engines like Google. So each time you type any word in a search engine, you will find a lot of results in that page, and those results have been working on SEO to have that presence there. So if you want to have your presence in the first place, in the results, you will need to work hard in SEO. And for that, we are here. And why is it important? Well, SEO can help you drive more people to your site without them knowing your site. So if they search for something and they see that article that you create in your site, they will know you in that moment. They didn't hear about it. So it's a way that you can drive people that don't know you yet, and also increase the growth of your site. So if you have more people coming in organic searching, you will have more people also coming afterwards, because they will speak about it. And that's important. So the key concepts that we will see today are on-page SEO and off-page SEO. On-page SEO focus on optimizing parts of your website that are within your control.

2. Types of SEO and Implementing SEO

Short description:

If you are creating content, you have control over the content and the project. SEO determines what you rank for. Off-page SEO focuses on increasing authority, trust, and reputation. The checklist explains the steps for implementing SEO. The first step is to create a sitemap to tell search engines about new or changed pages.

For example, if you are creating content, you have control over the content, and also over the project where you are creating the content. So the next period in this case. And you can add everything that you need to have SEO. And this kind of concept, or type of SEO, determines what you rank for. So if you are writing articles about technology, you are ranking for technology because you are talking about it. In the case of a person that is creating recipes is ranking for recipes, or cooking, or whatever topic is talking about.

And the off-page SEO concept is just a focus on increasing the authority, trust, and reputation of your domain. Through content creation in other places, not in your site, and by links to your site. So this kind of SEO determines how high your rank is. For example, if all the pages that are creating articles, they have an article that also is in your site, they will see that your site is interesting and they will want to see your site. And for that, all the reputation that you are creating online that everyone is just tagging your blog post because it's important and they want to see it, then you are creating reputation and people trusting you. And that's the off-page SEO. How you can, in other sites, link to your site and in that way there is a connection of reputation and trust.

So the checklist that we have on the right will explain you the steps we can follow to have this kind of SEO implemented in our sites. So for example on page we will just add the title tag, the social tags, for example the ones that we need for serving in social media, the alt text for images, the URL structure and internal linking, for example the breadcrumbs that we have in our sites. Also working on the page load speed, the core vitals that are so important nowadays in SEO and also the user experience and mobile friendliness because everyone is using the mobile these days and it's important for SEO that you have everything ready on your site to be able to navigate in mobile. And also the content itself, the headings that you need to define, the page content and everything that is inside your control. For the page possibilities we have social media posting, influencers marketing, so you can talk with someone that is already in a good position and that person could share your content and that's a way of having better reputation. And also guest blogging, you can go to another blog and start writing content there and obviously link back to your site so they can know you better. And brand mentions, for example, maybe you don't have a link, but if you specify the name of a brand, for example Google, you are already making that everyone knows about it. So it's important to have also brand mention or links, but something that people know about it.

And now that we have cleared what is SEO and what we can do, what is in our hands, let's start doing what we can do. The first step to get your site on a search engine is to be sure that they can find it. To make that we can create a file called sitemap, and this file is on your site and will tell the search engine about new or changed pages on your site. So for example, if you upload a new page, the sitemap will be updated and the search engine will know about that new page. To do that in Naix, is quite simple, because we have a module called naix-js-sitemap. We just need to install it in our project, add it to the module section in the configuration file, and add the options we have in the sitemap module. In this case we have the hostname, that is just the domain of our website, the jsip-true option, that is just compressing this file, the trailing-slash-true, that is just adding a slash to any of the rows, because the search engine are always looking for the trailing-slash at the end. And then, when I created the sitemap the first time, I just realized I was creating only the pages that are inside the pages folder of NAS, and all the dynamic worlds that I was creating under sloop, for example, for my articles didn't appear in that file. Then I realized that what I need to do is include it myself when the routes are generated in the project.

Check out more articles and videos

We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

Everything Beyond State Management in Stores with Pinia
Vue.js London Live 2021Vue.js London Live 2021
34 min
Everything Beyond State Management in Stores with Pinia
Top Content
State management is not limited to complex applications and transitioning to a store offers significant benefits. Pinia is a centralized state management solution compatible with Vue 2 and Vue 3, providing advanced devtools support and extensibility with plugins. The core API of Pinia is similar to Vuex, but with a less verbose version of stores and powerful plugins. Pinia allows for easy state inspection, error handling, and testing. It is recommended to create one file per store for better organization and Pinia offers a more efficient performance compared to V-rex.
Welcome to Nuxt 3
Vue.js London Live 2021Vue.js London Live 2021
29 min
Welcome to Nuxt 3
Top Content
Nux3 has made significant improvements in performance, output optimization, and serverless support. Nuxt Bridge brings the Nitro engine for enhanced performance and easier transition between Nuxt 2 and Nuxt Read. Nuxt 3 supports Webpack 5, Bytes, and Vue 3. NextLab has developed brand new websites using Docus technology. Nuxt.js is recommended for building apps faster and simpler, and Nuxt 2 should be used before migrating to Nuxt 3 for stability. DOCUS is a new project that combines Nuxt with additional features like content modules and an admin panel.
One Year Into Vue 3
Vue.js London Live 2021Vue.js London Live 2021
20 min
One Year Into Vue 3
Top Content
Vue 3 has seen significant adoption and improvements in performance, bundle size, architecture, and TypeScript integration. The ecosystem around Vue 3 is catching up, with new tools and frameworks being developed. The Vue.js.org documentation is undergoing a complete overhaul. PNIA is emerging as the go-to state management solution for Vue 3. The options API and composition API are both viable options in Vue 3, with the choice depending on factors such as complexity and familiarity with TypeScript. Vue 3 continues to support CDN installation and is recommended for new projects.
Utilising Rust from Vue with WebAssembly
Vue.js London Live 2021Vue.js London Live 2021
8 min
Utilising Rust from Vue with WebAssembly
Top Content
In this Talk, the speaker demonstrates how to use Rust with WebAssembly in a Vue.js project. They explain that WebAssembly is a binary format that allows for high-performance code and less memory usage in the browser. The speaker shows how to build a Rust example using the WasmPack tool and integrate it into a Vue template. They also demonstrate how to call Rust code from a Vue component and deploy the resulting package to npm for easy sharing and consumption.
Vue: Feature Updates
Vue.js London 2023Vue.js London 2023
44 min
Vue: Feature Updates
Top Content
Watch video: Vue: Feature Updates
The Talk discusses the recent feature updates in Vue 3.3, focusing on script setup and TypeScript support. It covers improvements in defining props using imported types and complex types support. The introduction of generic components and reworked signatures for defined components provides more flexibility and better type support. Other features include automatic inference of runtime props, improved define emits and defined slots, and experimental features like reactive props destructure and define model. The Talk also mentions future plans for Vue, including stabilizing suspense and enhancing computer invalidations.
Local State and Server Cache: Finding a Balance
Vue.js London Live 2021Vue.js London Live 2021
24 min
Local State and Server Cache: Finding a Balance
Top Content
This Talk discusses handling local state in software development, particularly when dealing with asynchronous behavior and API requests. It explores the challenges of managing global state and the need for actions when handling server data. The Talk also highlights the issue of fetching data not in Vuex and the challenges of keeping data up-to-date in Vuex. It mentions alternative tools like Apollo Client and React Query for handling local state. The Talk concludes with a discussion on GitLab going public and the celebration that followed.

Workshops on related topic

Vue3: Modern Frontend App Development
Vue.js London Live 2021Vue.js London Live 2021
169 min
Vue3: Modern Frontend App Development
Top Content
Featured WorkshopFree
Mikhail Kuznetsov
Mikhail Kuznetsov
The Vue3 has been released in mid-2020. Besides many improvements and optimizations, the main feature of Vue3 brings is the Composition API – a new way to write and reuse reactive code. Let's learn more about how to use Composition API efficiently.

Besides core Vue3 features we'll explain examples of how to use popular libraries with Vue3.

Table of contents:
- Introduction to Vue3
- Composition API
- Core libraries
- Vue3 ecosystem

Prerequisites:
IDE of choice (Inellij or VSC) installed
Nodejs + NPM
Monitoring 101 for React Developers
React Summit US 2023React Summit US 2023
107 min
Monitoring 101 for React Developers
Top Content
WorkshopFree
Lazar Nikolov
Sarah Guthals
2 authors
If finding errors in your frontend project is like searching for a needle in a code haystack, then Sentry error monitoring can be your metal detector. Learn the basics of error monitoring with Sentry. Whether you are running a React, Angular, Vue, or just “vanilla” JavaScript, see how Sentry can help you find the who, what, when and where behind errors in your frontend project. 
Workshop level: Intermediate
Using Nitro – Building an App with the Latest Nuxt Rendering Engine
Vue.js London Live 2021Vue.js London Live 2021
117 min
Using Nitro – Building an App with the Latest Nuxt Rendering Engine
Top Content
Workshop
Daniel Roe
Daniel Roe
We'll build a Nuxt project together from scratch using Nitro, the new Nuxt rendering engine, and Nuxt Bridge. We'll explore some of the ways that you can use and deploy Nitro, whilst building a application together with some of the real-world constraints you'd face when deploying an app for your enterprise. Along the way, fire your questions at me and I'll do my best to answer them.
Going on an adventure with Nuxt 3, Motion UI and Azure
JSNation 2022JSNation 2022
141 min
Going on an adventure with Nuxt 3, Motion UI and Azure
WorkshopFree
Melanie de Leeuw
Melanie de Leeuw
We love easily created and deployed web applications! So, let’s see what a very current tech stack like Nuxt 3, Motion UI and Azure Static Web Apps can do for us. It could very well be a golden trio in modern day web development. Or it could be a fire pit of bugs and errors. Either way it will be a learning adventure for us all. Nuxt 3 has been released just a few months ago, and we cannot wait any longer to explore its new features like its acceptance of Vue 3 and the Nitro Engine. We add a bit of pizzazz to our application with the Sass library Motion UI, because static design is out, and animations are in again.Our driving power of the stack will be Azure. Azure static web apps are new, close to production and a nifty and quick way for developers to deploy their websites. So of course, we must try this out.With some sprinkled Azure Functions on top, we will explore what web development in 2022 can do.
TresJS create 3D experiences declaratively with Vue Components
Vue.js London 2023Vue.js London 2023
137 min
TresJS create 3D experiences declaratively with Vue Components
Workshop
Alvaro Saburido
Alvaro Saburido
- Intro 3D - Intro WebGL- ThreeJS- Why TresJS- Installation or Stackblitz setup - Core Basics- Setting up the Canvas- Scene- Camera- Adding an object- Geometries- Arguments- Props- Slots- The Loop- UseRenderLoop composable- Before and After rendering callbacks- Basic Animations- Materials- Basic Material- Normal Material- Toon Material- Lambert Material- Standard and Physical Material- Metalness, roughness - Lights- AmbientLight- DirectionalLight- PointLights- Shadows- Textures- Loading textures with useTextures- Tips and tricks- Misc- Orbit Controls- Loading models with Cientos- Debugging your scene- Performance
Building Vue forms with VeeValidate
Vue.js London Live 2021Vue.js London Live 2021
176 min
Building Vue forms with VeeValidate
Workshop
Abdelrahman Awad
Abdelrahman Awad
In this workshop, you will learn how to use vee-validate to handle form validation, manage form values and handle submissions effectively. We will start from the basics with a simple login form all the way to using the composition API and building repeatable and multistep forms.

Table of contents:
- Introduction to vee-validate
- Building a basic form with vee-validate components
- Handling validation and form submissions
- Building validatable input components with the composition API
- Field Arrays and repeatable inputs
- Building a multistep form
Prerequisites:
VSCode setup and an empty Vite + Vue project.