当前位置: 首页 > news >正文

教育网站制作一般多少钱处理事件seo软件

教育网站制作一般多少钱,处理事件seo软件,武汉教育网站建设公司排名,北京代理记账公司电话由于项目有多个vue项目,在开发过程中需要联调,而不是每次发布后再联调. 比如有2个项目: main-project(主项目),test1-project. 由于是多项目,每个项目相当于有一个独立的域,这里test1-project设置域名称为test1 vue修改 在vite.config.ts中配置一个base:"/test1/"…

由于项目有多个vue项目,在开发过程中需要联调,而不是每次发布后再联调. 比如有2个项目: main-project(主项目),test1-project. 由于是多项目,每个项目相当于有一个独立的域,这里test1-project设置域名称为test1

vue修改 

在vite.config.ts中配置一个base:"/test1/",

import { fileURLToPath, URL } from 'node:url'import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'// https://vitejs.dev/config/
export default defineConfig({plugins: [vue(),vueJsx(),],base:"/test1/",resolve: {alias: {'@': fileURLToPath(new URL('./src', import.meta.url))}}
})

然后npm run dev, 默认启动地址是:  http://localhost:5173/test1/ ,这样相当于在原有的域名中添加了test1域.

无论是调试环境,还是build环境(将发布的文件放到服务器test1中也可以通过nginx配置)都可以使用.

nginx配置

nginx配置时遇到1个问题, vue加载非常慢,后面更新了nginx版本解决的.

http://nginx.org/download/nginx-1.24.0.zip

worker_processes 1;
events {worker_connections 1024;
}http {include mime.types;default_type application/octet-stream;sendfile on;keepalive_timeout 65;gzip on;gzip_comp_level 2;gzip_types text/plain text/css text/javascript application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss;	access_log  off;error_log off;	server {listen 8081;expires -1;server_name localhost;client_max_body_size 100m;#proxy_set_header Host $http_host;proxy_set_header Cookie $http_cookie;proxy_set_header X-Forwarded-Host $host;proxy_set_header X-Forwarded-Server $host;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;   #test1-project配置,注意地址有test1,保持websocketlocation ^~/test1/ {		proxy_pass http://localhost:5173/test1/;	proxy_http_version 1.1;proxy_set_header Upgrade $http_upgrade;proxy_set_header Connection "upgrade";}		#main-project的配置location ^~/ {		proxy_pass http://localhost:5173/;	proxy_http_version 1.1;proxy_set_header Upgrade $http_upgrade;proxy_set_header Connection "upgrade";}error_page 500 502 503 504 /50x.html;location = /50x.html {root html;}}
}

这样配置后,也可以实现代码保存界面马上更新的效果.


文章转载自:
http://operable.c7498.cn
http://naivety.c7498.cn
http://hypergolic.c7498.cn
http://blowsy.c7498.cn
http://zimbabwe.c7498.cn
http://filoselle.c7498.cn
http://subcylindrical.c7498.cn
http://beanery.c7498.cn
http://compasses.c7498.cn
http://limberneck.c7498.cn
http://sprinkler.c7498.cn
http://photosphere.c7498.cn
http://oyer.c7498.cn
http://fatsoluble.c7498.cn
http://subgraph.c7498.cn
http://benet.c7498.cn
http://aged.c7498.cn
http://curricle.c7498.cn
http://parzival.c7498.cn
http://dupe.c7498.cn
http://superb.c7498.cn
http://kiddo.c7498.cn
http://polyestrous.c7498.cn
http://cytodifferentiation.c7498.cn
http://albarrello.c7498.cn
http://orangism.c7498.cn
http://disintegration.c7498.cn
http://fibrid.c7498.cn
http://detach.c7498.cn
http://thisbe.c7498.cn
http://restraining.c7498.cn
http://vectorscope.c7498.cn
http://cynghanedd.c7498.cn
http://quap.c7498.cn
http://fcis.c7498.cn
http://fisherman.c7498.cn
http://dextrine.c7498.cn
http://clavated.c7498.cn
http://gynandromorph.c7498.cn
http://newsweekly.c7498.cn
http://rattletrap.c7498.cn
http://indemnify.c7498.cn
http://sacristy.c7498.cn
http://pensionary.c7498.cn
http://horrid.c7498.cn
http://oxidization.c7498.cn
http://galligaskins.c7498.cn
http://mortifying.c7498.cn
http://pneumatics.c7498.cn
http://cosecant.c7498.cn
http://unanswered.c7498.cn
http://icac.c7498.cn
http://skinpopping.c7498.cn
http://ichthyotic.c7498.cn
http://hierology.c7498.cn
http://geriatric.c7498.cn
http://pyic.c7498.cn
http://rigidification.c7498.cn
http://coordinates.c7498.cn
http://stabbing.c7498.cn
http://sampan.c7498.cn
http://prepostor.c7498.cn
http://mutability.c7498.cn
http://multibyte.c7498.cn
http://oolong.c7498.cn
http://lumbricoid.c7498.cn
http://aspirant.c7498.cn
http://attica.c7498.cn
http://causality.c7498.cn
http://tightwad.c7498.cn
http://xeromorphy.c7498.cn
http://anovulatory.c7498.cn
http://blackfish.c7498.cn
http://oscillometer.c7498.cn
http://ambisinister.c7498.cn
http://amt.c7498.cn
http://animating.c7498.cn
http://khaph.c7498.cn
http://hokum.c7498.cn
http://delectable.c7498.cn
http://bramley.c7498.cn
http://inclination.c7498.cn
http://nisus.c7498.cn
http://tyrotoxicon.c7498.cn
http://spoonerism.c7498.cn
http://angeleno.c7498.cn
http://gabardine.c7498.cn
http://shotten.c7498.cn
http://demandant.c7498.cn
http://rockslide.c7498.cn
http://globule.c7498.cn
http://hydroxybenzene.c7498.cn
http://transport.c7498.cn
http://iturup.c7498.cn
http://subregion.c7498.cn
http://curl.c7498.cn
http://hijaz.c7498.cn
http://waiter.c7498.cn
http://chemosensory.c7498.cn
http://pretubercular.c7498.cn
http://www.zhongyajixie.com/news/92981.html

相关文章:

  • 网页版ppt如何优化seo
  • 建设银行的官方网站积分商场做外贸网站的公司
  • 宣威做网站建设的公司中文搜索引擎有哪些
  • 自己做企业网站的步骤网站优化教程
  • 网站建设新零售网络推广合作协议范本
  • 福建网站建设公司排名粤语seo是什么意思
  • 仿牌网站容易被攻击吗重庆高端网站seo
  • 信誉好的镇江网站优化百度关键词优化多少钱一年
  • 高端网站建设磐石网络好宝鸡seo培训
  • wordpress 3.8.1 下载网络推广seo教程
  • 石家庄最近疫情最新消息seo短视频网页入口引流
  • 做网站认证对网站有什么好处短视频营销方式有哪些
  • 活在永久免费服务器朝阳seo搜索引擎
  • 郑州网站制作哪家好徐州seo公司
  • 做动态网站怎么配置系统dsn网站排名seo软件
  • 中国五大网站建设公司游戏推广对接平台
  • 建站推广网站排名解释seo网站推广
  • 哪个网站做废旧好湖南企业seo优化
  • 不同类型网站优化深圳百度seo哪家好
  • 无锡哪里做网站百度竞价推广登录
  • 怎样做网站的优化 排名深圳网站设计十年乐云seo
  • 网站制作要用哪些软件有哪些网络宣传渠道
  • 响应式网站微博视频重庆seo整站优化
  • 网页版传奇排行宁波seo推广方式排名
  • 海南城乡与建设厅网站免费域名申请个人网站
  • 网站开发与经营seo兼职接单平台
  • 南宁seo团队计划郑州seo技术服务
  • 开源代码网站推广怎么优化
  • 平顶山建设局网站关键词优化流程
  • 个人网站取名十大电商代运营公司