refactor: update frontend project directory and upgrade dependencies
@ -2,15 +2,15 @@
|
||||
"name": "{{.ProjectName}}",
|
||||
"private": true,
|
||||
"version": "0.1.0",
|
||||
"description": "",
|
||||
"description": "A Wails Template",
|
||||
"main": "",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"postinstall": "((cp -f index.js.html JS/index.html) & (cp -f index.ts.html TS/index.html))& rm -rf *.html"
|
||||
"postinstall": "((cp -f index.js.html packages/javascript/index.html) & (cp -f index.ts.html packages/typescript/index.html))& rm -rf *.html"
|
||||
},
|
||||
"author": "{{.AuthorName}}",
|
||||
"license": "ISC",
|
||||
"workspaces": ["JS", "TS"],
|
||||
"license": "MIT",
|
||||
"workspaces": ["packages/*"],
|
||||
"engines": {
|
||||
"node": ">=15.0.0",
|
||||
"npm": ">=7.0.0"
|
||||
|
@ -8,13 +8,13 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.2.23",
|
||||
"vue": "^3.2.31",
|
||||
"vue-i18n": "^9.1.9",
|
||||
"vue-router": "^4.0.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^1.10.2",
|
||||
"sass": "^1.44.0",
|
||||
"vite": "^2.7.0"
|
||||
"sass": "^1.49.9",
|
||||
"vite": "^2.8.6"
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
@ -11,7 +11,7 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
build: {
|
||||
outDir:"../dist",
|
||||
outDir:"../../dist",
|
||||
rollupOptions: {
|
||||
output: {
|
||||
entryFileNames: `assets/[name].js`,
|
@ -9,13 +9,14 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.2.23",
|
||||
"vue": "^3.2.31",
|
||||
"vue-router": "^4.0.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^1.10.2",
|
||||
"sass": "^1.49.9",
|
||||
"typescript": "^4.4.4",
|
||||
"vite": "^2.7.0",
|
||||
"vite": "^2.8.6",
|
||||
"vue-tsc": "^0.28.10"
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
@ -11,7 +11,7 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
build: {
|
||||
outDir:"../dist",
|
||||
outDir:"../../dist",
|
||||
rollupOptions: {
|
||||
output: {
|
||||
entryFileNames: `assets/[name].js`,
|
@ -5,7 +5,7 @@
|
||||
"frontend:install": "npm install",
|
||||
"frontend:build": "npm run build -w js",
|
||||
"frontend:dev:watcher": "npm run build:watch -w js",
|
||||
"debounceMS": 2000,
|
||||
"debounceMS": 1500,
|
||||
"author": {
|
||||
"name": "{{.AuthorName}}",
|
||||
"email": "{{.AuthorEmail}}"
|
||||
|