live reload with vue and react

This commit is contained in:
Liam DeBeasi
2023-12-18 20:12:21 -05:00
parent 2980a37463
commit 05a535433c
10 changed files with 4715 additions and 56403 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,8 +3,8 @@
"version": "0.0.1", "version": "0.0.1",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@ionic/react": "^6.6.1", "@ionic/react": "workspace:*",
"@ionic/react-router": "^6.6.1", "@ionic/react-router": "workspace:*",
"@types/react": "^17.0.53", "@types/react": "^17.0.53",
"@types/react-dom": "^17.0.19", "@types/react-dom": "^17.0.19",
"@types/react-router": "^5.1.20", "@types/react-router": "^5.1.20",

File diff suppressed because it is too large Load Diff

View File

@ -3,8 +3,8 @@
"version": "0.0.1", "version": "0.0.1",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@ionic/react": "^7.0.0", "@ionic/react": "workspace:*",
"@ionic/react-router": "^7.0.0", "@ionic/react-router": "workspace:*",
"ionicons": "^7.0.0", "ionicons": "^7.0.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",

View File

@ -15,5 +15,8 @@ export default defineConfig({
}, },
server: { server: {
port: 3000 port: 3000
},
optimizeDeps: {
exclude: ['@ionic/react', '@ionic/react-router']
} }
}) })

File diff suppressed because it is too large Load Diff

View File

@ -16,8 +16,8 @@
"sync": "sh ./scripts/sync.sh" "sync": "sh ./scripts/sync.sh"
}, },
"dependencies": { "dependencies": {
"@ionic/vue": "^6.0.12", "@ionic/vue": "workspace:*",
"@ionic/vue-router": "^6.0.12", "@ionic/vue-router": "workspace:*",
"ionicons": "^6.0.4", "ionicons": "^6.0.4",
"vue": "^3.2.31", "vue": "^3.2.31",
"vue-router": "^4.0.14" "vue-router": "^4.0.14"

View File

@ -20,5 +20,8 @@ export default defineConfig({
// Preview applies to "vite preview" command // Preview applies to "vite preview" command
preview: { preview: {
port: 8080 port: 8080
},
optimizeDeps: {
exclude: ['@ionic/vue', '@ionic/vue-router']
} }
}) })

5520
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -7,3 +7,6 @@ packages:
- 'packages/vue-router' - 'packages/vue-router'
- 'packages/react' - 'packages/react'
- 'packages/react-router' - 'packages/react-router'
- 'packages/vue/test/build/**'
- 'packages/react/test/build/**'
- 'packages/angular/test/build/**'