intlify / intlify/bundle-tools

Support SSR (Vite)

Open
#78 3 comments 11 reactions 0 assignees View on GitHub
status: proposal
Dominant language
TypeScript
Stars
270
Forks
46
PR merge metrics
No merged PRs in 30d

Description

### Clear and concise description of the problem

Currently attempted to use the Vite loader with `vue-ssr` results in an error:

```
[vite] Internal server error: Cannot find module '@intlify/vite-plugin-vue-i18n/messages' imported from 'x'
```

### Suggested solution

I'm not sure what the issue is (I've no idea how the virtual import stuff from Vite works)

### Alternative

_No response_

### Additional context

_No response_

### Validations

- [X] Read the [Contributing Guidelines](https://github.com/intlify/bundle-tools/blob/main/.github/contributing.md).
- [X] Read the README
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.