Browse Source

latest vite and typescript, no problem detected

master
pvincent 4 years ago
parent
commit
e876e1dc4a
  1. 3
      .vscode/settings.json
  2. 0
      README
  3. 1
      TODO
  4. 2877
      package-lock.json
  5. 10
      package.json
  6. 6
      vite.config.ts

3
.vscode/settings.json

@ -1,5 +1,6 @@
{ {
"cSpell.words": [ "cSpell.words": [
"VAPARA" "VAPARA"
]
],
"cSpell.enabled": false
} }

0
README.md → README

1
TODO.md → TODO

@ -1,5 +1,6 @@
TODO TODO
==== ====
## ARCHI ## ARCHI
* [ ] composition API * [ ] composition API

2877
package-lock.json
File diff suppressed because it is too large
View File

10
package.json

@ -6,11 +6,13 @@
"build": "vite build" "build": "vite build"
}, },
"dependencies": { "dependencies": {
"typescript": "^4.1.3",
"vue": "^3.0.0-rc.1"
"typescript": "4.x",
"vue": "3.x"
}, },
"devDependencies": { "devDependencies": {
"vite": "^1.0.0-rc.1",
"@vue/compiler-sfc": "^3.0.0-rc.1"
"@types/node": "^14.14.31",
"@vitejs/plugin-vue": "^1.1.5",
"@vue/compiler-sfc": "3.x",
"vite": "^2.0.4"
} }
} }

6
vite.config.ts

@ -1,10 +1,12 @@
import pkg from './package.json' import pkg from './package.json'
import { execSync } from 'child_process' import { execSync } from 'child_process'
import vue from '@vitejs/plugin-vue'
export default { export default {
plugins: [vue()],
define: { define: {
APP_TITLE: pkg.name,
APP_VERSION: buildVersion(),
APP_TITLE: JSON.stringify(pkg.name),
APP_VERSION: JSON.stringify(buildVersion()),
} }
} }

Loading…
Cancel
Save