All Projects → aeksco → nuxt-netlify-lambda-starter

aeksco / nuxt-netlify-lambda-starter

Licence: MIT License
🛠️ SEO-friendly website starter backed by Netlify lambda functions in a simple, friendly repo

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to nuxt-netlify-lambda-starter

hacktoberfest-checker
Decoupled web application using Nuxt and Netlify Functions to create a way for folks to check whether a public repository is eligible and/or taking part in Hacktoberfest
Stars: ✭ 16 (-73.33%)
Mutual labels:  nuxt, netlify, netlify-functions
deved-platform
Nuxt.js for the new Vonage Developer Education site.
Stars: ✭ 15 (-75%)
Mutual labels:  nuxt, netlify, netlify-functions
vue-seo-friendly-spa-template
Vue.js PWA/SPA template initially scaffolded with vue-cli and configured for SEO. Makes use of prerendering and other techniques/packages in order to achieve a perfect "Lighthouse Score".
Stars: ✭ 41 (-31.67%)
Mutual labels:  seo, netlify
cookie
Landing website + Blog using Jekyll & Tailwind CSS
Stars: ✭ 61 (+1.67%)
Mutual labels:  seo, netlify
git-space
A web application to view Github's user profile.
Stars: ✭ 14 (-76.67%)
Mutual labels:  font-awesome, netlify
vuefes-2018
Vue Fes Japan 2018 の Web サイトのソースコードです。ナレッジ共有のために公開します
Stars: ✭ 39 (-35%)
Mutual labels:  nuxt, netlify
nuxt-netlify-cms-starter
🏞 A very spartan starter for using Nuxt.js with Netlify CMS.
Stars: ✭ 67 (+11.67%)
Mutual labels:  nuxt, netlify
diablo3-vue-platzi
👾 Diablo 3 Profile Finder - 👹. Using the Diablo III official APIs
Stars: ✭ 40 (-33.33%)
Mutual labels:  font-awesome, netlify
platform
Community platform for dancers
Stars: ✭ 30 (-50%)
Mutual labels:  nuxt, netlify
seomate
SEO, mate! It's important. That's why SEOMate provides the tools you need to craft all the meta tags, sitemaps and JSON-LD microdata you need - in one highly configurable, open and friendly package - with a super-light footprint.
Stars: ✭ 31 (-48.33%)
Mutual labels:  seo, json-ld
sveltekit-seo
Demo site for SvelteKit SEO showing how to set up meta tags in a SvelteKit blog site.
Stars: ✭ 28 (-53.33%)
Mutual labels:  seo, netlify
nuxt-seomatic-meta
A module for connecting Nuxt.js to the Craft CMS SEOmatic plugin via GraphQL. Nuxt-o-matic!
Stars: ✭ 28 (-53.33%)
Mutual labels:  seo, nuxt
nuxt-netlifycms-boilerplate
A simple boilerplate for using NetlifyCMS with Nuxt
Stars: ✭ 51 (-15%)
Mutual labels:  nuxt, netlify
JayantGoel001.github.io
My Personal Portfolio.
Stars: ✭ 31 (-48.33%)
Mutual labels:  seo, font-awesome
bluise
🍄 Bluise - A Nuxt.js & Netlify CMS boilerplate.
Stars: ✭ 132 (+120%)
Mutual labels:  nuxt, netlify
testimonial
Jamstack app using Gatsby, Netlify, and FaunaDB.
Stars: ✭ 23 (-61.67%)
Mutual labels:  netlify, netlify-functions
trailing-slash-guide
Understand and fix your static website trailing slash issues!
Stars: ✭ 255 (+325%)
Mutual labels:  nuxt, netlify
nuxt-jsonld
A Nuxt.js module to manage JSON-LD in Vue component.
Stars: ✭ 198 (+230%)
Mutual labels:  seo, nuxt
schema-dot-org
Validated structured data for websites
Stars: ✭ 42 (-30%)
Mutual labels:  seo, json-ld
nuxt-netlify-cms-starter
NuxtJS + Netlify CMS blog starter project
Stars: ✭ 35 (-41.67%)
Mutual labels:  nuxt, netlify

nuxt-netlify-lambda-starter

🛠️ SEO-friendly website starter backed by Netlify lambda functions in a simple, friendly repo

This is a basic starter project for a prerendered Vue.js + Nuxt.js frontend with a Netlify lambda function backend. The Nuxt.js app is pre-rendered for improved SEO.

You can view the deployed app here

Features

NOTE: this project can only be deployed via Netlify with continuous deployment enabled.

Build Setup

# Install dependencies
$ yarn install

# Serve with hot reload at localhost:3000 and serves Netlify Functions
$ yarn run dev

# Build for production
$ yarn run build

Note that Prettier will automatically clean up your code when you save. You can adjust this behavior in the build section at line 127 in nuxt.config.js.

Pre-rendered Dynamic Pages

This project includes a series of pre-rendered pages using a generic Item datatype. The data for these pages is maintained in assets/content/items.json and they're generated with a custom generate field in nuxt.config.js:

generate: {
  routes: items.map(g => '/items/' + g.id)
}

This ensures that each item has a page that's pre-renderd and SEO-optimized. You can clone, modify, or remove the Item datatype and associated pages to better suit your needs.

Environment Configuration

The following production environment variables are required for the respective plugins to work correctly:

# Google Analytics Tracking Code
GA_TRACKING_ID=UA-XXX-X

# HotJar Site Identifier
HOTJAR_SITE_ID=1234567

# Mailchimp Script Variables
MAILCHIMP_BASE_URL=mc.us19.list-manage.com
MAILCHIMP_LID=abcde12345
MAILCHIMP_UUID=aabbccddeeffgghhiijj12345

These variables can be configured in a variety of ways - please consult the Netlify Continuous Deployment Docs. You can deactivate any of these plugins by modifying the plugins field in the nuxt.config.js file.

JSON-LD Structured Data

The JSON-LD Structured Data can be updated by modifying the jsonld() function in the layouts/default.vue file. This feature shouldn't be used anywhere else - one JSON-LD snippet should describe the entire site.

OpenGraph and Twitter Card Meta Tags

The <meta> tags for OpenGraph and Twitter Cards are located in the head section of nuxt.config.js. You should change these from their default values. You can validate your changes using the Twitter Card Validator and the Facebook Sharing Debugger.

Bootstrap + SASS Configuration

You can modify the assets/sass/main.sass file to optionally include Bootstrap component styles as-needed. PROTIP - only include the Bootstrap components your app depends on - this will keep your CSS bundle nice and slim :)

You can also modify any of Bootstrap's SASS Variables inside the assets/sass/variables.sass file to customize the framework to your liking.

FontAwesome Vue Configuration

The repo includes a minimal subset of icons by default. When you need an additional icon, you must import it directly in plugins/fontawesome.js and register it with the FontAwesome plugin. You can learn more about the Vue-FontAwesome library here.

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].