---
title: "How to use jQuery with Laravel and Vite"
url: https://daily.dev/posts/how-to-use-jquery-with-laravel-and-vite-2schvs01o
source_url: https://devdojo.com/thinkverse/how-to-use-jquery-with-laravel-and-vite
type: article
source: "Community Picks"
author: "thinkverse"
published: 2022-12-23T08:25:27.414Z
updated: 2023-12-07T12:02:45.284Z
tags: ["javascript", "php", "laravel", "jquery", "vite", "npm"]
reading_time: 4
upvotes: 11
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.

# How to use jQuery with Laravel and Vite

**[Community Picks](https://daily.dev/sources/community)** · [@thinkverse](https://daily.dev/thinkverse) · 4 min read · 11 upvotes · 1 comments

## Summary

How to use jQuery with Laravel and Vite is one of the OG JavaScript libraries still in heavy use in the Laravel community to this day. Installing jQuery is installed with a single command from your terminal using your preferred node package manager. We can import jQuery anywhere really, but for this example, we will add it below the lodash import.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://devdojo.com/thinkverse/how-to-use-jquery-with-laravel-and-vite>

## Community discussion

Top comments from developers on daily.dev.

**@bobbyiliev** · 6 upvotes

> ![](https://i.redd.it/7285bvqz43s01.png)

## 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), [#php](https://daily.dev/tags/php), [#laravel](https://daily.dev/tags/laravel), [#jquery](https://daily.dev/tags/jquery), [#vite](https://daily.dev/tags/vite), [#npm](https://daily.dev/tags/npm)

[View this post on daily.dev](https://daily.dev/posts/how-to-use-jquery-with-laravel-and-vite-2schvs01o)
