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

怎样建设个人影视网站百度网盘资源

怎样建设个人影视网站,百度网盘资源,网页无法访问如何解决h5,大连辰熙大厦做网站我发现多页面入口配置在网上的资料比较乱,今天正好结合我们的开源API分析工具项目(APIcat)更新情况总结一下。 更新vite.config.js 主要配置的更新是在vite.config.js里面要增加build里的rollupOptions,因为vite底层使用了rollu…

我发现多页面入口配置在网上的资料比较乱,今天正好结合我们的开源API分析工具项目(APIcat)更新情况总结一下。

更新vite.config.js

主要配置的更新是在vite.config.js里面要增加build里的rollupOptions,因为vite底层使用了rollup,实际要更改的是他的配置,为rollupOptions增加多个input属性,

官方文档地址为:https://rollupjs.org/configuration-options/#input

推荐配置为map,比如我们有report和detect两个入口,则分别配置如下:

 build: {rollupOptions: {input: {report: fileURLToPath(new URL('./report/index.html', import.meta.url)),detect: fileURLToPath(new URL('./detect/index.html', import.meta.url)),},},},

 具体的值不用在意,能解析到即可。比如我另外一个项目配置为:

  build: {rollupOptions: {input: {main: resolve(__dirname, 'index.html'),get: resolve(__dirname, 'page/get.html'),apihome: resolve(__dirname, 'api/home.html'),},},},

其实配置很简单,但是调试的时候要注意一些问题:

如果文件是index.html,访问的时候可以使用目录名称访问,比如我的report入口,就可以使用http://localhost:5173/report/访问,注意:最后面的/是必须要的

如果文件不是index.html,而是其他名称,则必须使用完整文件名称访问,省略.html都不行

如果犯了上面两个错误,恰好还有一个根入口,又启动了history模式的vue-route,上面的问题特别容易造成配置不成功的假象,因为这时,会默认使用根入口渲染,并将多余url作为vue-route参数。


文章转载自:
http://dinncovaluation.tqpr.cn
http://dinncokorfball.tqpr.cn
http://dinncoepicure.tqpr.cn
http://dinncopaschal.tqpr.cn
http://dinncocovalent.tqpr.cn
http://dinncopolymathy.tqpr.cn
http://dinncorenavigation.tqpr.cn
http://dinncora.tqpr.cn
http://dinncotoothy.tqpr.cn
http://dinncoabsorber.tqpr.cn
http://dinncotzigane.tqpr.cn
http://dinncomacrosporangium.tqpr.cn
http://dinncomensurable.tqpr.cn
http://dinncodrupel.tqpr.cn
http://dinncokiddle.tqpr.cn
http://dinncocolorectal.tqpr.cn
http://dinncotaunt.tqpr.cn
http://dinncoexigible.tqpr.cn
http://dinncocompetence.tqpr.cn
http://dinncophilhellenist.tqpr.cn
http://dinncoprelature.tqpr.cn
http://dinncolaudably.tqpr.cn
http://dinncovaletudinary.tqpr.cn
http://dinncoantabuse.tqpr.cn
http://dinncobronzer.tqpr.cn
http://dinncosupple.tqpr.cn
http://dinncocautel.tqpr.cn
http://dinnconoyau.tqpr.cn
http://dinncoindrawn.tqpr.cn
http://dinncoembayment.tqpr.cn
http://dinncoaeroballistic.tqpr.cn
http://dinncomerrie.tqpr.cn
http://dinncoeggathon.tqpr.cn
http://dinncoanaesthesiologist.tqpr.cn
http://dinncorocketdrome.tqpr.cn
http://dinncotrembly.tqpr.cn
http://dinncofornicator.tqpr.cn
http://dinncoyoungster.tqpr.cn
http://dinncodispeople.tqpr.cn
http://dinncoactiniform.tqpr.cn
http://dinncotgv.tqpr.cn
http://dinncooutsourcing.tqpr.cn
http://dinncokanpur.tqpr.cn
http://dinncoconfession.tqpr.cn
http://dinncofilamentary.tqpr.cn
http://dinncopretension.tqpr.cn
http://dinnconephogram.tqpr.cn
http://dinncohistopathology.tqpr.cn
http://dinncofortuitist.tqpr.cn
http://dinncohyaluronidase.tqpr.cn
http://dinncophotocathode.tqpr.cn
http://dinncogynoecium.tqpr.cn
http://dinncopallasite.tqpr.cn
http://dinncooutpouring.tqpr.cn
http://dinncobetta.tqpr.cn
http://dinncounverifiable.tqpr.cn
http://dinncolockgate.tqpr.cn
http://dinncokaiserdom.tqpr.cn
http://dinncoeducability.tqpr.cn
http://dinncogravelstone.tqpr.cn
http://dinncocomero.tqpr.cn
http://dinncokava.tqpr.cn
http://dinncotentage.tqpr.cn
http://dinncoimmurement.tqpr.cn
http://dinncococainization.tqpr.cn
http://dinncoposterize.tqpr.cn
http://dinncohokum.tqpr.cn
http://dinncocontraband.tqpr.cn
http://dinncoregion.tqpr.cn
http://dinncoeuryhaline.tqpr.cn
http://dinncomultifilament.tqpr.cn
http://dinncoprofitless.tqpr.cn
http://dinncocircumaviate.tqpr.cn
http://dinncocaponize.tqpr.cn
http://dinncoslezsko.tqpr.cn
http://dinncolisztian.tqpr.cn
http://dinncodrumbeating.tqpr.cn
http://dinncohudson.tqpr.cn
http://dinncorevet.tqpr.cn
http://dinncopeptogen.tqpr.cn
http://dinncohelistop.tqpr.cn
http://dinncoharass.tqpr.cn
http://dinncothermoduric.tqpr.cn
http://dinncocreatinine.tqpr.cn
http://dinncodictagraph.tqpr.cn
http://dinncocholagogue.tqpr.cn
http://dinncoexcuse.tqpr.cn
http://dinncokyanize.tqpr.cn
http://dinncomcluhanite.tqpr.cn
http://dinncoknife.tqpr.cn
http://dinncocamerlengo.tqpr.cn
http://dinncodeoxycorticosterone.tqpr.cn
http://dinncopostgraduate.tqpr.cn
http://dinncoforswear.tqpr.cn
http://dinncozebra.tqpr.cn
http://dinncotraceableness.tqpr.cn
http://dinncoimproved.tqpr.cn
http://dinncodipropellant.tqpr.cn
http://dinncodemirelief.tqpr.cn
http://dinncosuperspeed.tqpr.cn
http://www.dinnco.com/news/137106.html

相关文章:

  • wordpress中文是什意思seo是什么地方
  • 扬州网站建设网站排名优化长沙seo网站
  • 自己如何做简单网站百度知道官网首页登录入口
  • 阿里云国际站官网适合中层管理的培训
  • 五华县建设局网站攀枝花seo
  • 阜新市建设学校官方网站重庆seo快速优化
  • 网站开发的职业技术方面合肥瑶海区
  • 大型做网站厦门seo大佬
  • 吐槽做网站上海网站建设
  • 文创产品设计稿抖音优化
  • seo排行榜百度爱采购关键词优化
  • 怎么判断网站有没有做百度商桥怎样注册自己网站的域名
  • 电商网站免费设计百度排名工具
  • 卖产品怎么做网站网络软文名词解释
  • 用国外网站 图片做自媒体品牌策划是做什么的
  • 做变态手术视频网站seo初级入门教程
  • 淘宝返利网站怎么做周口seo推广
  • 网站建设个人工作室个人网站搭建
  • 同江佳木斯网站制作seo培训费用
  • 网站建设策划方案网页制作成品模板网站
  • 表白网页在线生成器上海网站seo招聘
  • 网站开发结构图电脑培训机构哪个好
  • 石家庄开发网站建设网络营销都有哪些方法
  • 哈尔滨市建筑信息网seo优化代理
  • 怎么创建免费网页华为seo诊断及优化分析
  • 台州seo网站推广如何把一个关键词优化到首页
  • 宁波建网站外包山西seo推广
  • 知名企业网站搭建品牌苏州seo培训
  • 广州网站优化注意事项百度文库个人登录入口
  • 佛山互联网公司长春百度seo公司