title: Disable layout for page under Blazor
body: <p>In Razor syntax, to disable the layout for a specific page we can do this:</p>
  
  <pre><code>  @{
      Layout = null
    }
  </code></pre>
  
  <p>In Blazor, the convention for it is defined by <code>@layout</code>. However, I cannot see how we can set it as null / disable. I wish to apply it to only the <code>index.razor</code> page.</p>
  
  <p>How can this be achieved in Blazor?</p>