Playing Next Lesson In
seconds

Let's Learn AdonisJS 6 #2.5

Vite and Our Assets

In This Lesson

We'll learn how Vite is integrating into our EdgeJS views to serve our JavaScript and CSS files.

Created by
@tomgobich
Published

Join the Discussion 6 comments

Create a free account to join in on the discussion
  1. @thebrain

    Does the import of external asset files (CSS, JS, and fonts) follow the same procedure?

    1
    1. Responding to thebrain
      @tomgobich
      0
  2. @omariqbal

    I setup a project for adonisjs from scatch and it seems to be already following the 2 separate entrypoints for app.css and app.js

    1
    1. Responding to omariqbal
      @tomgobich

      Yep! Looks like they updated this with their recent Vite updates.

      0
  3. @secondman

    It's been nearly a year since you published this so maybe you're already aware, Vite is French for "quick" and is pronounced "veet" … just for future videos etc.

    1
    1. Responding to secondman
      @tomgobich

      Thank you, secondman!! Yeah, the folks in the YouTube comments quickly provided feedback when this lesson was released. My pronunciation should be fixed from, I believe, this lesson onward.

      0