undefined

EdgeJS

Edge is a feature-packed template engine for Node.JS that AdonisJS utilizes out-of-the-box. It comes with support for conditionals, looping, partials, layouts, components, and so much more.

8 Series
94 Lessons
EdgeJS

Lessons

Video preview
Share vs Global Data Flow
Video preview

Share vs Global Data Flow

In this lesson, we'll compare the difference between sharing information with an EdgeJS instance and defining a Global within EdgeJS.

Video preview
State vs Share Data Flow
Video preview

State vs Share Data Flow

In this lesson, we'll learn about the difference between passing information directly into EdgeJS' state and sharing information with EdgeJS.

Video preview
Extracting A Layout Component
Video preview

Extracting A Layout Component

In this lesson, we'll learn how we can create EdgeJS layouts using components so that we don't have to redefine or HTML structure for every page in our application.

Video preview
Making A Button Component Using Slots
Video preview

Use Slots To Make A Button Component

In this lesson, we'll learn about EdgeJS component slots by making a versatile button component that can gracefully handle both links and button types.

Video preview
Component Tags, State, and Props
Video preview

Component Tags, State, and Props

In this lesson, we'll learn how to use EdgeJS components within AdonisJS as direct tags. We'll also learn about our component's state and props

Video preview
Making A Reusable Movie Card Component
Video preview

Making A Reusable Movie Card Component

In this lesson, we'll learn how we can make a movie card component with EdgeJS that we can define once and easily use throughout our markup.

Video preview
EdgeJS HTML and ClassNames Utiltiies
Video preview

HTML Attribute and Class Utilities

In this lesson, we'll take a look at a few powerful utilities provided by EdgeJS that make working with attributes and conditional classes a breeze.

Video preview
EdgeJS Templating Basics
Video preview

EdgeJS Templating Basics

In this lesson, we'll learn the basics of AdonisJS's homegrown template engine EdgeJS. We'll cover interpolation, conditional statements, looping, variables, state, and more!

Video preview
Listing Movies from their Markdown Files
Video preview

Listing Movies from their Markdown Files

In this lesson, we'll learn how we can list movies and their details directly from our movies directory using a YAML-based declaration called frontmatter.

Video preview
Markdown Content
Video preview

Reading and Supporting Markdown Content

In this lesson, we'll learn how we can support Markdown content by switching our movies from HTML to Markdown. To do this, we'll make use of the DimerApp Markdown package.

Video preview
Settings Up Tailwind CSS
Video preview

Setting Up Tailwind CSS

In this lesson, we'll learn how to install and configure PostCSS and Tailwind CSS within our AdonisJS 6 project using Vite.

Video preview
Vite and Our Assets
Video preview

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.

Video preview
Linking Between Routes
Video preview

Linking Between Routes

In this lesson, we'll learn how we can link between the routes we have defined in our application. We'll also learn about the importance of HTTP Method verbs and resources to standardize our route definitions.

Video preview
Rendering a View for a Route
Video preview

Rendering a View for a Route

In this lesson, we'll learn how we can use the EdgeJS Template Engine to render HTML views and send them back as the response for our routes. We'll also see how we can pass dynamic data into our views from our route handler.

Video preview
Form HTTP Method Components
Video preview

Form HTTP Method Components

In this lesson, we'll create helper HTTP Method form components, further simplifying our method spoofing by allowing us to just chain the desired method off our form component.

Video preview
Form Component Method Spoofing
Video preview

Form Component Method Spoofing

In this lesson, we'll add simplified HTTP Method Spoofing functionality to our base form component. With this simplified functionality all we'll need to do is specify the desired HTTP Method to the method prop and it'll add it to our URL.

Video preview
Form Utility Component
Video preview

Form Utility Component

In this lesson, we'll start a form utility component. This component will allow us to create one central location where we can maintain our forms and provide additional functionality like simplified method spoofing.

Video preview
Accordion Variant Options
Video preview

Bordered, Active Bordered, and Plain Variants

In this lesson, we'll split out three different variants from the accordion item we made in the last lesson. We'll create bordered, active bordered, and plain accordion items.

Showing 37 to 54 of 94 results