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:
parent
0a7047b6e9
commit
3b5822c135
@ -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"
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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": ".",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user