Skip to content

Commit

Permalink
chore: upgrade Vite to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Dec 11, 2022
1 parent 12808da commit 8952a20
Show file tree
Hide file tree
Showing 3 changed files with 328 additions and 358 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
# Demonstration of using [SweetAlert2](https://sweetalert2.github.io/) with [Vite](https://vitejs.dev/)


#### index.js:
```js
import Swal from 'sweetalert2'

Swal.fire('Hi from vite!')
#### Dev:
```sh
yarn dev
```

#### Build:
```sh
$ yarn build
yarn build
```

---
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"devDependencies": {
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@vitejs/plugin-react": "^2.0.0",
"@vitejs/plugin-react": "^3.0.0",
"sass": "^1.49.8",
"typescript": "^4.5.4",
"vite": "^3.0.0"
"vite": "^4.0.0"
}
}
Loading

0 comments on commit 8952a20

Please sign in to comment.