Skip to content

Lume components and components.ts conflict #659

@oscarotero

Description

@oscarotero

Version

all

Platform

all

What steps will reproduce the bug?

I have this site:

/_components/title.vto
/components.ts
/index.vto

The title component exports some js code:

---
js: |
  console.log("title");
---
<h1>{{ content }}</h1>

The js code of the components is saved in /components.js. And /components.ts is renamed to /components.js so both pages have the same URL.

How often does it reproduce? Is there a required condition?

No response

What is the expected behavior?

The code of both pages should be merged in the same file.

What do you see instead?

An error saying there are two pages with the same url.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions