Skip to content

Commit

Permalink
refactor: migrate from vue-cli to vite
Browse files Browse the repository at this point in the history
  • Loading branch information
rocwang committed Jan 7, 2021
1 parent e040897 commit 3994f0b
Show file tree
Hide file tree
Showing 15 changed files with 4,194 additions and 31,508 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VUE_APP_SERVER_HOST=pi.kiwiberry.nz
VITE_SERVER_HOST=pi.kiwiberry.nz
9 changes: 3 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
.DS_Store
node_modules
.DS_Store
/dist


# local env files
.env.local
.env.*.local
/dist-ssr
*.local

# Log files
npm-debug.log*
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Roc Wong

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
# cash-launcher

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
npm run dev
```

### Compiles and minifies for production
Expand All @@ -21,4 +16,4 @@ npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
See [Configuration Reference](https://vitejs.dev/config/).
10 changes: 0 additions & 10 deletions babel.config.js

This file was deleted.

5 changes: 4 additions & 1 deletion public/index.html → index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head></head>
<head>
<meta charset="utf-8" />
<script type="module" src="/src/main.ts"></script>
</head>
<body>
<noscript>
We're sorry but this app doesn't work properly without JavaScript enabled.
Expand Down
Loading

0 comments on commit 3994f0b

Please sign in to comment.