Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
ssr-pc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tangjiale
ssr-pc
Commits
f318c0f7
Commit
f318c0f7
authored
Apr 26, 2022
by
tangjiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3c985c1a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+4
-3
screenService.js
services/screenService.js
+0
-1
No files found.
README.md
View file @
f318c0f7
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
@eMail: 932055106@qq.com
*
@eMail: 932055106@qq.com
*
@Date: 2022-04-09 08:44:08
*
@Date: 2022-04-09 08:44:08
*
@LastEditors: tangjiale
*
@LastEditors: tangjiale
*
@LastEditTime: 2022-04-09 1
1:17:11
*
@LastEditTime: 2022-04-09 1
6:22:40
-->
-->
# 为什么选择nuxt框架? (nuxt.js官网:https://zh.nuxtjs.org/ 当前选用版本为2.9.2)
# 为什么选择nuxt框架? (nuxt.js官网:https://zh.nuxtjs.org/ 当前选用版本为2.9.2)
...
@@ -24,9 +24,10 @@
...
@@ -24,9 +24,10 @@
4.
`相对于前后端分离模式下服务器只需要提供静态资源来说,SSR 需要的服务器负载更大,所以在项目中使用 SSR 模式要慎重 (根据访问量定夺)`
4.
`相对于前后端分离模式下服务器只需要提供静态资源来说,SSR 需要的服务器负载更大,所以在项目中使用 SSR 模式要慎重 (根据访问量定夺)`
# spa框架可参考
# spa框架可参考
中台项目:http://git.xiaobentiyu.cn/qingjiquan/goods-admin-h5.git H5单页应用:http://git.xiaobentiyu.cn/qingjiquan/sport-goods-h5.git
中台项目:http://git.xiaobentiyu.cn/qingjiquan/goods-admin-h5.git
H5单页应用:http://git.xiaobentiyu.cn/qingjiquan/sport-goods-h5.git
# ssr框架可参考
# ssr框架可参考
PC网站:http://git.xiaobentiyu.cn/tangjiale/ssr-pc.git
PC网站:http://git.xiaobentiyu.cn/tangjiale/ssr-pc.git
`完整部署流程可参考:https://juejin.cn/post/6924504408638259213`
# nuxt.config.js 核心配置(包含打包部署,具体开发可参考实际项目中的配置) (官方所有配置参考:https://www.wenjiangs.com/doc/nuxt-api-configuration-build)
# nuxt.config.js 核心配置(包含打包部署,具体开发可参考实际项目中的配置) (官方所有配置参考:https://www.wenjiangs.com/doc/nuxt-api-configuration-build)
-
[
env
]
-
[
env
]
...
...
services/screenService.js
View file @
f318c0f7
import
Vue
from
'vue'
import
Vue
from
'vue'
const
that
=
Vue
.
prototype
let
axiosApi
=
null
let
axiosApi
=
null
//根据外部传入的ctx对象,赋值给本地serve文件
//根据外部传入的ctx对象,赋值给本地serve文件
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment