feat: add https preview

This commit is contained in:
Anthony Fu 2021-03-16 00:35:52 +08:00
parent a2e8e0b742
commit 0562a2e591
2 changed files with 757 additions and 205 deletions

View File

@ -1,40 +1,43 @@
{
"private": true,
"scripts": {
"dev": "vite --port 3333 --open",
"build": "cross-env NODE_ENV=production vite-ssg build",
"dev": "vite --port 3333 --open"
"preview": "vite preview",
"preview-https": "serve dist"
},
"dependencies": {
"@vueuse/core": "^4.3.5",
"@vueuse/core": "^4.4.1",
"@vueuse/head": "^0.5.1",
"nprogress": "^0.2.0",
"prism-theme-vars": "^0.2.0",
"vue": "^3.0.7",
"vue-i18n": "^9.0.0",
"vue-router": "^4.0.4"
"vue-router": "^4.0.5"
},
"devDependencies": {
"@antfu/eslint-config": "^0.4.3",
"@iconify/json": "^1.1.314",
"@intlify/vite-plugin-vue-i18n": "^2.0.1",
"@antfu/eslint-config": "^0.6.2",
"@iconify/json": "^1.1.316",
"@intlify/vite-plugin-vue-i18n": "^2.0.2",
"@types/nprogress": "^0.2.0",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@vitejs/plugin-vue": "^1.1.5",
"@vue/compiler-sfc": "^3.0.7",
"@vue/server-renderer": "^3.0.7",
"cross-env": "^7.0.3",
"eslint": "^7.21.0",
"eslint": "^7.22.0",
"markdown-it-prism": "^2.1.6",
"pnpm": "^5.18.5",
"pnpm": "^5.18.7",
"https-localhost": "^4.6.4",
"typescript": "^4.2.3",
"vite": "^2.0.5",
"vite-plugin-components": "^0.8.0",
"vite": "^2.1.0",
"vite-plugin-components": "^0.8.3",
"vite-plugin-icons": "^0.3.2",
"vite-plugin-md": "^0.6.1",
"vite-plugin-pages": "^0.7.0",
"vite-plugin-pwa": "^0.5.6",
"vite-plugin-vue-layouts": "^0.2.2",
"vite-plugin-windicss": "^0.8.1",
"vite-plugin-windicss": "^0.8.2",
"vite-ssg": "^0.8.12"
}
}

File diff suppressed because it is too large Load Diff