1
0
mirror of https://github.com/kihashi/stardew_community_checklist.git synced 2025-10-19 08:03:17 +00:00

Add vite preview script

This commit is contained in:
lachie-underhill 2023-06-05 15:01:51 +10:00
parent 0a7047b6e9
commit 3b5822c135
No known key found for this signature in database
GPG Key ID: 48057E0D2C37AC20
3 changed files with 2 additions and 2 deletions

View File

@ -7,6 +7,7 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint . --ext .js,.vue,.ts --ignore-path .gitignore",
"lint:fix": "lint --fix",
"prepare": "husky install"

View File

@ -205,7 +205,6 @@ export const useGeneralStore = defineStore('general', {
migrateV2StateIfExists() {
const v2data = localStorage.getItem('vuex')
console.log(v2data)
if (v2data === null || v2data === '') return
const v2state = JSON.parse(v2data)

View File

@ -1,7 +1,7 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["**/*.ts", "**/*.js", "**/*.vue"],
"exclude": ["src/**/__tests__/*", "node_modules"],
"exclude": ["src/**/__tests__/*", "node_modules", "dist"],
"compilerOptions": {
"allowJs": true,
"baseUrl": ".",