DEV Community

Jesús Antonio Ugaz Vegas
Jesús Antonio Ugaz Vegas

Posted on

Iteration with pug

Iteration with pug

0

I have a question, how could I make one object be inside another and be displayed in pug?

    -
    var list = [
            {
                "title": "- Course",
                "link": "./course/index.html",
                "listName":[
                  {
                   "name":"01 - HTML"
                  },
                  {
                   "name":"02 - CSS"
                  }
                ] 
            },

        ]


        

    ol  
        each val in list 
            li  
                p=

Top comments (0)