Skip to content

[astro-dev-only] Make an import-able resource that will mark pages to be excluded #4

@gingerchew

Description

@gingerchew
---
import 'astro-dev-only';
---
<Layout>
  <h1>This page won't show up in prod</h1>
</Layout>

It might make sense to make it a virtual module, so maybe something more like this?

---
import 'dev:only';
---

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions