<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/embedding-gleam-in-my-blog-with-vite-sropn9mke" -->

---
title: Embedding Gleam in my blog with Vite | daily.dev
description: The post discusses the process of embedding Gleam in a blog using Vite. It covers creating a Lustre project, installing and configuring Vite, using the bundled...
canonical: https://daily.dev/posts/embedding-gleam-in-my-blog-with-vite-sropn9mke
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Embedding Gleam in my blog with Vite | daily.dev
og:description: The post discusses the process of embedding Gleam in a blog using Vite. It covers creating a Lustre project, installing and configuring Vite, using the bundled...
og:url: https://daily.dev/posts/embedding-gleam-in-my-blog-with-vite-sropn9mke
og:image: https://api.daily.dev/og/posts/SroPn9MKe.png
og:image:alt: Embedding Gleam in my blog with Vite
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Embedding Gleam in my blog with Vite

**[Erika Rowland](https://daily.dev/sources/erikarow)** · 2 min read · 15 upvotes · 1 comments

## Summary

The post discusses the process of embedding Gleam in a blog using Vite. It covers creating a Lustre project, installing and configuring Vite, using the bundled JavaScript in a static site, and publishing the blog post.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://erikarow.land/notes/gleam-vite>

## Community discussion

Top comments from developers on daily.dev.

**@idoshamun** · 0 upvotes

> Gleam transpiles into javascript is an interesting selling point.
> I do wonder about the Elixir vs Gleam

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#elixir](https://daily.dev/tags/elixir), [#vite](https://daily.dev/tags/vite), [#gleam](https://daily.dev/tags/gleam)

[View this post on daily.dev](https://daily.dev/posts/embedding-gleam-in-my-blog-with-vite-sropn9mke)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Embedding Gleam in my blog with Vite","url":"https://daily.dev/posts/embedding-gleam-in-my-blog-with-vite-sropn9mke","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/embedding-gleam-in-my-blog-with-vite-sropn9mke"},"datePublished":"2024-03-15T12:26:28.303Z","dateModified":"2024-05-09T09:28:18.744Z","description":"The post discusses the process of embedding Gleam in a blog using Vite. It covers creating a Lustre project, installing and configuring Vite, using the bundled...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/38002b0e0a5546a463ccee21dc4c4d89?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/38002b0e0a5546a463ccee21dc4c4d89?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Erika Rowland","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Erika Rowland","logo":"https://media.daily.dev/image/upload/s--YJcMy3nx--/f_auto/v1710505564/logos/erikarow","url":"https://daily.dev/sources/erikarow"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/embedding-gleam-in-my-blog-with-vite-sropn9mke","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":15},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"javascript,elixir,vite,gleam","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Erika Rowland","item":"https://daily.dev/sources/erikarow"},{"@type":"ListItem","position":3,"name":"Embedding Gleam in my blog with Vite"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/embedding-gleam-in-my-blog-with-vite-sropn9mke","comment":[{"@type":"Comment","text":"Gleam transpiles into javascript is an interesting selling point.\nI do wonder about the Elixir vs Gleam","datePublished":"2024-03-28T16:46:14.697Z","url":"https://daily.dev/posts/SroPn9MKe#c-PT8dFWV6d","author":{"@type":"Person","name":"Ido Shamun","url":"https://daily.dev/idoshamun","image":"https://media.daily.dev/image/upload/s---xy_OAwk--/f_auto,q_auto/v1703781380/avatars/avatar_28849d86070e4c099c877ab6837c61f0"}}]}
```

