Skip to content

External component (vue-ssr-carousel) doesn't work in Vite (vue2)/rollup production SSR build - render function or template not defined in component: carousel #12775

Closed
@meepleek

Description

@meepleek

Version

2.7.10

Reproduction link

github.com

Steps to reproduce

Clone the reproduction repo and follow the steps from the repo readme to run the SSR build and repro the issue

What is expected?

The component works the same in the dev (vite) build and the production (rollup) build during SSR

What is actually happening?

The dev build SSR works fine, but the production SSR build fails with render function or template not defined in component: carousel


I created an issue in the repo for the external component, but upon further reflection I think this might be a more general vue (or maybe rollup?) issue.
BKWLD/vue-ssr-carousel#89

I tried asking on discord in the #vue-2 channel, but no one replied unfortunately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions