CL-1977: Updating vuejs

This commit is contained in:
Romain Francois 2024-07-31 15:04:09 +01:00
parent 774bed3ac4
commit afb01e9bcc
4 changed files with 428 additions and 2944 deletions

View File

@ -2,8 +2,7 @@
⚠️ Note: This example is for Vue 2.
The earliest supported version of the charting library for these examples is
`v24`.
The latest supported version of the charting library for these examples is `v28.0.0`.
## How to start

3354
vuejs/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -9,10 +9,10 @@
"preview": "vite preview"
},
"dependencies": {
"vite-plugin-vue2": "^2.0.3",
"vue": "^2.7.14"
"@vitejs/plugin-vue2": "^2.3.1",
"vue": "^2.7.16"
},
"devDependencies": {
"vite": "^4.1.0"
"vite": "^5.3.5"
}
}

View File

@ -1,7 +1,6 @@
import { defineConfig } from 'vite'
import { createVuePlugin } from 'vite-plugin-vue2'
import vue from '@vitejs/plugin-vue2'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [createVuePlugin()],
})
export default {
plugins: [vue()]
}