Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skymoonya/rsbuild-plugin-vue-legacy
Support for Vue versions below 2.7 by setting an alias for vue (switch vue version in the project to 2.7)
https://github.com/skymoonya/rsbuild-plugin-vue-legacy
Last synced: 10 days ago
JSON representation
Support for Vue versions below 2.7 by setting an alias for vue (switch vue version in the project to 2.7)
- Host: GitHub
- URL: https://github.com/skymoonya/rsbuild-plugin-vue-legacy
- Owner: skymoonya
- License: mit
- Created: 2024-04-05T05:46:50.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-10T07:21:43.000Z (9 months ago)
- Last Synced: 2024-12-21T15:42:21.603Z (21 days ago)
- Language: Vue
- Homepage:
- Size: 323 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rspack - rsbuild-plugin-vue-legacy
README
# rsbuild-plugin-vue-legacy
English | [简体中文](./README.zh_CN.md)
Support for `Vue` versions below `2.7` by setting an alias for `vue` (switch `vue` version in the project to `2.7`). Suitable for projects that want to try `rsbuild` but do not want to upgrade `vue` version to `2.7`.
If there are any `vue` related errors, please refer to [Migration to Vue 2.7](https://v2.vuejs.org/v2/guide/migration-vue-2-7.html)
## Quick Start
1. Install Dependencies
```
npm i rsbuild-plugin-vue-legacy -D
```
2. Configure `rsbuild`
```js
import { defineConfig } from '@rsbuild/core'
import { pluginVue2 } from '@rsbuild/plugin-vue2'
import vueLegacy from 'rsbuild-plugin-vue-legacy'export default defineConfig({
plugins: [
pluginVue2(),
vueLegacy(),
]
})
```## Configuration
No configuration required.