删除预渲染相关文件
This commit is contained in:
@@ -19,12 +19,9 @@
|
|||||||
"vuex": "^4.1.0"
|
"vuex": "^4.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@prerenderer/renderer-puppeteer": "^1.2.4",
|
|
||||||
"@prerenderer/rollup-plugin": "^0.3.12",
|
|
||||||
"@types/node": "^24.10.1",
|
"@types/node": "^24.10.1",
|
||||||
"@vitejs/plugin-vue": "^6.0.2",
|
"@vitejs/plugin-vue": "^6.0.2",
|
||||||
"@vue/tsconfig": "^0.8.1",
|
"@vue/tsconfig": "^0.8.1",
|
||||||
"puppeteer": "^24.37.5",
|
|
||||||
"typescript": "~5.9.3",
|
"typescript": "~5.9.3",
|
||||||
"unplugin-auto-import": "^21.0.0",
|
"unplugin-auto-import": "^21.0.0",
|
||||||
"unplugin-vue-components": "^31.0.0",
|
"unplugin-vue-components": "^31.0.0",
|
||||||
|
|||||||
Generated
-1554
File diff suppressed because it is too large
Load Diff
@@ -2,5 +2,4 @@ allowBuilds:
|
|||||||
'@parcel/watcher': true
|
'@parcel/watcher': true
|
||||||
core-js: true
|
core-js: true
|
||||||
esbuild: true
|
esbuild: true
|
||||||
puppeteer: true
|
|
||||||
vue-demi: true
|
vue-demi: true
|
||||||
|
|||||||
@@ -564,8 +564,6 @@ function goSearchJobs() {
|
|||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
// 加载公共工具数据(行业分类、岗位分类、地区分类等)
|
// 加载公共工具数据(行业分类、岗位分类、地区分类等)
|
||||||
store.dispatch('loadCommonData')
|
store.dispatch('loadCommonData')
|
||||||
// 触发预渲染事件 — 配合 vite.config.ts 中 PrerenderPlugin 的 renderAfterDocumentEvent 设置
|
|
||||||
document.dispatchEvent(new Event('prerender-trigger'))
|
|
||||||
})
|
})
|
||||||
|
|
||||||
/** 点击登陆按钮 — 打开登录弹窗,登录成功后跳转到 jobs 页面 */
|
/** 点击登陆按钮 — 打开登录弹窗,登录成功后跳转到 jobs 页面 */
|
||||||
|
|||||||
Reference in New Issue
Block a user