[{"data":1,"prerenderedAt":387},["ShallowReactive",2],{"navigation_docs":3,"-get-started-first-steps":233,"-get-started-first-steps-surround":383},[4,27,77,127,161,219],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":26},"Get started","majesticons:rocket-3-start-line","\u002Fget-started","1.get-started",[10,14,18,22],{"title":11,"path":12,"stem":13},"How it works","\u002Fget-started\u002Fhow-it-works","1.get-started\u002F10.how-it-works",{"title":15,"path":16,"stem":17},"Play online","\u002Fget-started\u002Fplay-online","1.get-started\u002F20.play-online",{"title":19,"path":20,"stem":21},"Create a new project","\u002Fget-started\u002Fcreate-new-project","1.get-started\u002F30.create-new-project",{"title":23,"path":24,"stem":25},"First steps","\u002Fget-started\u002Ffirst-steps","1.get-started\u002F40.first-steps",false,{"title":28,"icon":29,"path":30,"stem":31,"children":32,"page":26},"Guide","mdi:book-open-page-variant-outline","\u002Fguide","2.guide",[33,37,41,45,49,53,57,61,65,69,73],{"title":34,"path":35,"stem":36},"Customized API Output","\u002Fguide\u002Fcustomized-api-output","2.guide\u002F05.customized-api-output",{"title":38,"path":39,"stem":40},"Pages & Routing","\u002Fguide\u002Fpages-routing","2.guide\u002F10.pages-routing",{"title":42,"path":43,"stem":44},"Site layout & Menus","\u002Fguide\u002Fsite-layout-menus","2.guide\u002F20.site-layout-menus",{"title":46,"path":47,"stem":48},"Authentication","\u002Fguide\u002Fauthentication","2.guide\u002F40.authentication",{"title":50,"path":51,"stem":52},"Metatags & Local tasks","\u002Fguide\u002Fmetatags-local-tasks","2.guide\u002F50.metatags-local-tasks",{"title":54,"path":55,"stem":56},"Breadcrumbs & Messages","\u002Fguide\u002Fbreadcrumbs-messages","2.guide\u002F60.breadcrumbs-messages",{"title":58,"path":59,"stem":60},"Redirects","\u002Fguide\u002Fredirects","2.guide\u002F65.redirects",{"title":62,"path":63,"stem":64},"Editorial previews","\u002Fguide\u002Feditorial-previews","2.guide\u002F70.editorial-previews",{"title":66,"path":67,"stem":68},"Layout builder","\u002Fguide\u002Flayout-builder","2.guide\u002F80.layout-builder",{"title":70,"path":71,"stem":72},"Drupal Canvas","\u002Fguide\u002Fcanvas","2.guide\u002F90.canvas",{"title":74,"path":75,"stem":76},"Drupal CMS","\u002Fguide\u002Fdrupal-cms","2.guide\u002F95.drupal-cms",{"title":78,"icon":79,"path":80,"stem":81,"children":82,"page":26},"Advanced topics","bi:diagram-3","\u002Fadvanced-topics","3.advanced-topics",[83,87,91,95,99,103,107,111,115,119,123],{"title":84,"path":85,"stem":86},"Multi-frontend","\u002Fadvanced-topics\u002Fmulti-frontend","3.advanced-topics\u002F05.multi-frontend",{"title":88,"path":89,"stem":90},"Listings, Views","\u002Fadvanced-topics\u002Flistings-views","3.advanced-topics\u002F10.listings-views",{"title":92,"path":93,"stem":94},"Searches","\u002Fadvanced-topics\u002Fsearches","3.advanced-topics\u002F20.searches",{"title":96,"path":97,"stem":98},"JSON-API & GraphQL","\u002Fadvanced-topics\u002Fjsonapi-graphql","3.advanced-topics\u002F30.jsonapi-graphql",{"title":100,"path":101,"stem":102},"Caching","\u002Fadvanced-topics\u002Fcaching","3.advanced-topics\u002F40.caching",{"title":104,"path":105,"stem":106},"Error pages","\u002Fadvanced-topics\u002Ferror-pages","3.advanced-topics\u002F50.error-pages",{"title":108,"path":109,"stem":110},"Drupal forms","\u002Fadvanced-topics\u002Fdrupal-forms","3.advanced-topics\u002F60.drupal-forms",{"title":112,"path":113,"stem":114},"Drupal JavaScript","\u002Fadvanced-topics\u002Fdrupal-javascript","3.advanced-topics\u002F62.drupal-javascript",{"title":116,"path":117,"stem":118},"Site Templates","\u002Fadvanced-topics\u002Fsite-templates","3.advanced-topics\u002F65.site-templates",{"title":120,"path":121,"stem":122},"Block layout","\u002Fadvanced-topics\u002Fblock-layout","3.advanced-topics\u002F70.block-layout",{"title":124,"path":125,"stem":126},"Debugging API requests","\u002Fadvanced-topics\u002Fdebugging","3.advanced-topics\u002F80.debugging",{"title":128,"icon":129,"path":130,"stem":131,"children":132,"page":26},"Drupal","simple-icons:drupal","\u002Fdrupal","4.drupal",[133,137,141,145,149,153,157],{"title":134,"path":135,"stem":136},"Key modules","\u002Fdrupal\u002Fkey-modules","4.drupal\u002F10.key-modules",{"title":138,"path":139,"stem":140},"Custom elements","\u002Fdrupal\u002Fcustom-elements","4.drupal\u002F20.custom-elements",{"title":142,"path":143,"stem":144},"Routes","\u002Fdrupal\u002Froutes","4.drupal\u002F30.routes",{"title":146,"path":147,"stem":148},"Providing blocks","\u002Fdrupal\u002Fproviding-blocks","4.drupal\u002F40.providing-blocks",{"title":150,"path":151,"stem":152},"Custom Element Processors","\u002Fdrupal\u002Fcustom-element-processors","4.drupal\u002F50.custom-element-processors",{"title":154,"path":155,"stem":156},"Adding Drupal forms","\u002Fdrupal\u002Fadd-drupal-forms","4.drupal\u002F60.add-drupal-forms",{"title":158,"path":159,"stem":160},"Providing themes","\u002Fdrupal\u002Fthemes","4.drupal\u002F70.themes",{"title":162,"icon":163,"path":164,"stem":165,"children":166,"page":26},"Nuxt","simple-icons:nuxtdotjs","\u002Fnuxt","5.nuxt",[167,171,175,179,183,187,191,195,199,203,207,211,215],{"title":168,"path":169,"stem":170},"Introduction","\u002Fnuxt\u002Fintroduction","5.nuxt\u002F10.introduction",{"title":172,"path":173,"stem":174},"Setup","\u002Fnuxt\u002Fsetup","5.nuxt\u002F20.setup",{"title":176,"path":177,"stem":178},"Rendering Custom Elements","\u002Fnuxt\u002Frender-custom-elements","5.nuxt\u002F30.render-custom-elements",{"title":180,"path":181,"stem":182},"Default components","\u002Fnuxt\u002Fdefault-components","5.nuxt\u002F32.default-components",{"title":184,"path":185,"stem":186},"Composables","\u002Fnuxt\u002Fcomposables","5.nuxt\u002F35.composables",{"title":188,"path":189,"stem":190},"Drupal JS libraries","\u002Fnuxt\u002Fdrupal-libraries","5.nuxt\u002F37.drupal-libraries",{"title":192,"path":193,"stem":194},"Custom Routes","\u002Fnuxt\u002Fcustom-routes","5.nuxt\u002F40.custom-routes",{"title":196,"path":197,"stem":198},"Page Layouts","\u002Fnuxt\u002Fpage-layouts","5.nuxt\u002F50.page-layouts",{"title":200,"path":201,"stem":202},"Component Previews","\u002Fnuxt\u002Fcomponent-previews","5.nuxt\u002F55.component-previews",{"title":204,"path":205,"stem":206},"Component Index","\u002Fnuxt\u002Fcanvas-components","5.nuxt\u002F57.canvas-components",{"title":208,"path":209,"stem":210},"Rendering modes","\u002Fnuxt\u002Frendering-modes","5.nuxt\u002F60.rendering-modes",{"title":212,"path":213,"stem":214},"Deployment options","\u002Fnuxt\u002Fdeployment","5.nuxt\u002F70.deployment",{"title":216,"path":217,"stem":218},"Resources","\u002Fnuxt\u002Fresources","5.nuxt\u002F90.resources",{"title":220,"icon":221,"path":222,"stem":223,"children":224,"page":26},"Deployment","solar:server-square-cloud-linear","\u002Fdeployment","6.deployment",[225,229],{"title":226,"path":227,"stem":228},"Deployment Strategies","\u002Fdeployment\u002Fdeployment-strategy","6.deployment\u002F10.deployment-strategy",{"title":230,"path":231,"stem":232},"Unified Hosting","\u002Fdeployment\u002Funified-hosting","6.deployment\u002F20.unified-hosting",{"id":234,"title":23,"body":235,"description":241,"extension":377,"links":378,"meta":379,"navigation":380,"path":24,"seo":381,"stem":25,"__hash__":382},"docs\u002F1.get-started\u002F40.first-steps.md",{"type":236,"value":237,"toc":371},"minimark",[238,242,247,331,335],[239,240,241],"p",{},"This page provides a short playbook which introduces you to the most important features of Lupus Decoupled Drupal. It only takes 1-2 minutes to follow:",[243,244,246],"h2",{"id":245},"creating-and-viewing-content","Creating and viewing content",[248,249,250,259,271,285,291,307,324],"ol",{},[251,252,253,254,258],"li",{},"Create an article\nIn the backend, login and go to ",[255,256,257],"code",{},"\u002Fnode\u002Fadd\u002Farticle"," to create some first example content.  Fill in some random content and save it.",[251,260,261,262,266,267,270],{},"After saving, you are redirected to the frontend, which renders the basic data of your content. You can customize that easily, as described under the ",[263,264,265],"a",{"href":35},"Customized API output"," page. For now, stay here and remember the frontend URL of your page, e.g. ",[255,268,269],{},"\u002Fnode\u002F1",".",[251,272,273,274,277,278,281,282,270],{},"On the frontend go the user login, e.g. ",[255,275,276],{},"\u002Fuser\u002Flogin?destination=\u002F",". Login with your usual Drupal credentials, e.g. as admin or editor account. For the Gitpod demo environments you can log in with ",[255,279,280],{},"admin"," and password ",[255,283,284],{},"lupus123",[251,286,287,288,290],{},"After logging in, go back to your created content in the frontend, e.g. ",[255,289,269],{},". Take note of the local task links (or \"Drupal-tabs\") that appear now.",[251,292,293,294,297,298,302,303,306],{},"Click the ",[255,295,296],{},"Edit"," task link, to get back to the Drupal edit page. Now, let's change the ",[299,300,301],"em",{},"URL-alias"," of the content in the right sidebar, e.g. to ",[255,304,305],{},"\u002Fexample-path",". Also, in the sidebar, enable the option to provide a menu item and keep the defaults.",[251,308,309,310],{},"Save the form and take note of the changes appearing in the frontend:",[311,312,313,318,321],"ul",{},[251,314,315,316,270],{},"The URL of the content changed to ",[255,317,305],{},[251,319,320],{},"A menu items is appearing in the main menu, which is part of the site header.",[251,322,323],{},"A success message is provided by Drupal and shown in the frontend.",[251,325,326,327,330],{},"Optionally, you may log out in the frontend, separate from the backend, by visiting the ",[255,328,329],{},"\u002Fuser\u002Flogout"," path in the frontend.",[243,332,334],{"id":333},"inspecting-api-output-of-content","Inspecting API output of content",[248,336,337,344,354,365],{},[251,338,339,340,343],{},"After creating content, it's listed in Drupal's content management screen at ",[255,341,342],{},"\u002Fadmin\u002Fcontent\u002Fnode"," in the backend.",[251,345,346,347,349,350,353],{},"To inspect the custom element API output of some content, use the drop-down next to the ",[255,348,296],{}," operation button on the right and choose the entry ",[255,351,352],{},"API output",". It shows the API output of the associated page.",[251,355,356,357,360,361,364],{},"Optionally, switch between markup and JSON serialization by appending the query parameter ",[255,358,359],{},"?_content_format=markup"," or ",[255,362,363],{},"?_content_format=json"," (default) to the URL of the API output.",[251,366,367,368,270],{},"Continue with ",[263,369,370],{"href":35},"customizing the API output",{"title":372,"searchDepth":373,"depth":373,"links":374},"",2,[375,376],{"id":245,"depth":373,"text":246},{"id":333,"depth":373,"text":334},"md",null,{},true,{"title":23,"description":241},"bdjzZyX_qLnkYPZbphLSfDSN_re69BTu8K-429UbpEo",[384,385],{"title":19,"path":20,"stem":21,"description":372,"children":-1},{"title":34,"path":35,"stem":36,"description":386,"children":-1},"Lupus Decoupled Drupal provides custom elements output for all content entities. This includes the page of a content node (\"Full content\"), just as the individual view-modes that may be used in content listings, e.g. teasers (Drupal allows the configuration of any number of view-modes).",1786631275305]