Playing Next Lesson In
seconds

Let's Learn AdonisJS 6 #6.0

Accepting Form Data

In This Lesson

We'll take a look at how we can create a register form and accept data from that form within our route handler.

Created by
@tomgobich
Published

Join the Discussion 2 comments

Create a free account to join in on the discussion
  1. Hey Tom,

    Thank you for the video ยป Just wanted to ask a quick one regarding working with edge

    Emmet does not seem to be working with edge files (unlike with ejs). I.e: typing out 'div' and having '<div></div>' popup, or .flex having '<div class="flex"></div>', or even nested emmet calls

    So far, I have ignored it, but as we are adding more and more components, it kind of becomes cumbersome. Was wondering if there is a solution, or perhaps it's a specific setting, that must be enabled somewhere

    1
    1. Responding to vladimir-laskin
      @tomgobich

      Hi Vladimir!

      Yes, there sure is! If you open your JSON user settings:

      1. Hit cmd/ctrl + shift + p to open the command palette

      2. Search for and select "Preferences: Open User Settings (JSON)"

      You can add the following to this file, which will map the EdgeJS file extension .edge to use HTML Emmet functionalities.

      {
        "emmet.includeLanguages": {
          "edge": "html"
        }
      }
      Copied!
      0