Skip to content

Commit

Permalink
fix(vue): add support for ionic supported browser versions (#1768)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsamoht committed Apr 28, 2023
1 parent 98bc4d7 commit e3d3362
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions vue-vite/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"vue-router": "^4.1.6"
},
"devDependencies": {
"@vitejs/plugin-legacy": "^4.0.2",
"@vitejs/plugin-vue": "^4.0.0",
"@vue/eslint-config-typescript": "^11.0.2",
"@vue/test-utils": "^2.3.0",
Expand Down
8 changes: 6 additions & 2 deletions vue-vite/base/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import { defineConfig } from 'vite'
import legacy from '@vitejs/plugin-legacy'
import vue from '@vitejs/plugin-vue'
import path from 'path'
import { defineConfig } from 'vite'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
plugins: [
vue(),
legacy()
],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
Expand Down

0 comments on commit e3d3362

Please sign in to comment.