Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Si committed Jun 26, 2021
1 parent 0364015 commit 73871b0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ module.exports = {
'import/no-extraneous-dependencies': 'off',
'prefer-destructuring': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
};
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"version": "0.0.0",
"license": "MIT",
"scripts": {
"dev": "TAILWIND_MODE=watch vite",
"build": "vue-cli-service build",
"serve": "vite preview",
"build": "vue-cli-service build",
"dev": "TAILWIND_MODE=watch vite",
"tauri": "tauri",
"tauri:build": "vue-cli-service tauri:build"
},
"dependencies": {
"@tailwindcss/postcss7-compat": "^2.2.4",
"@tauri-apps/api": "^1.0.0-beta.3",
"autoprefixer": "^9",
"core-js": "^3.6.5",
"postcss": "^7",
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
"vue": "^3.0.5"
Expand All @@ -21,7 +21,7 @@
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"@vitejs/plugin-vue": "^1.2.3",
"@vue/cli-plugin-babel": "^4.5.13",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "^4.5.13",
"@vue/cli-plugin-typescript": "^4.5.13",
"@vue/cli-service": "^4.5.13",
Expand All @@ -40,5 +40,6 @@
"vite": "^2.3.8",
"vue-cli-plugin-tauri": "~1.0.0-beta.3",
"vue-tsc": "^0.0.24"
}
},
"license": "MIT"
}
7 changes: 4 additions & 3 deletions src/shims-vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
declare module '*.vue' {
import { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
export default component
import { DefineComponent } from 'vue';

const component: DefineComponent<unknown, unknown, any>;
export default component;
}
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@
resolved "https://registry.yarnpkg.com/@vue/cli-overlay/-/cli-overlay-4.5.13.tgz#4f1fd2161be8f69d6cba8079f3f0d7dc4dee47a7"
integrity sha512-jhUIg3klgi5Cxhs8dnat5hi/W2tQJvsqCxR0u6hgfSob0ORODgUBlN+F/uwq7cKIe/pzedVUk1y07F13GQvPqg==

"@vue/cli-plugin-babel@^4.5.13":
"@vue/cli-plugin-babel@~4.5.0":
version "4.5.13"
resolved "https://registry.yarnpkg.com/@vue/cli-plugin-babel/-/cli-plugin-babel-4.5.13.tgz#a89c482edcc4ea1d135645cec502a7f5fd4c30e7"
integrity sha512-ykvEAfD8PgGs+dGMGqr7l/nRmIS39NRzWLhMluPLTvDV1L+IxcoB73HNLGA/aENDpl8CuWrTE+1VgydcOhp+wg==
Expand Down

0 comments on commit 73871b0

Please sign in to comment.