---
title: "Basset is an alternative way to load CSS & JS assets"
url: https://daily.dev/posts/basset-is-an-alternative-way-to-load-css-js-assets-npkc4qddw
source_url: https://laravel-news.com/basset
type: article
source: "Laravel News"
published: 2024-04-17T13:11:55.429Z
updated: 2024-05-09T08:43:33.910Z
tags: ["javascript", "laravel", "npm", "deno"]
reading_time: 3
upvotes: 73
comments: 1
language: 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.

# Basset is an alternative way to load CSS & JS assets

**[Laravel News](https://daily.dev/sources/ln)** · 3 min read · 73 upvotes · 1 comments

## Summary

Basset is a better asset helper for Laravel that allows you to load CSS and JS assets directly from the URL. It removes the limitations of the traditional asset() function and provides features such as downloading assets from CDNs, loading vendor and non-public assets, preventing double-loading of assets, and improving performance by using HTTP/2.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://laravel-news.com/basset>

## Community discussion

Top comments from developers on daily.dev.

**@kuchinpotta** · 0 upvotes

> My today's topic to work, Thanks😁

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#laravel](https://daily.dev/tags/laravel), [#npm](https://daily.dev/tags/npm), [#deno](https://daily.dev/tags/deno)

[View this post on daily.dev](https://daily.dev/posts/basset-is-an-alternative-way-to-load-css-js-assets-npkc4qddw)
