当前位置:网站首页>Uncaught syntaxerror: unexpected token '< is reported on the blank page of the H5 uniapp package‘
Uncaught syntaxerror: unexpected token '< is reported on the blank page of the H5 uniapp package‘
2022-07-19 01:59:00 【666 sign】
manifest.json To configure :
"router" : {
"mode" : "history",
"base" : "./"
},In this way, a blank page may appear , Then report this error :

You need to configure base route , Otherwise, static resources cannot be found ;
Use caution ./, Instead, change to the actual address of the project , If the project address is xxx.com/release/, perhaps xxx.com/release/pages/wechat/login, It is equivalent to more than one in front of the root directory release, hold base Change to your actual directory ;
"router" : {
"mode" : "history", // Route jump mode , Support hash|history , Default hash
"base" : "/release/" // Application base path , for example , If the entire single page application service is in /release/ Next , then base I should have set it equal to "/release/"
},
In this way, when accessing, you automatically add... In front of the path release 了 , And it won't happen #.
边栏推荐
- C language operator priority
- Fairness in Semi-supervised Learning: Unlabeled Data Help to Reduce Discrimination
- 递推与递归学习笔记
- Startup mode of activity
- 动手学深度学习--线性神经网络篇
- Boost thread pool
- CABasicAnimation暂停\企动
- 【pycharm】Cannot find reference ‘XXX‘ in ‘__ init__. Py 'solution
- cookie、LocalStorage、sessionStorage三者区别以及使用方式
- 组合键截图分析
猜你喜欢

Fair Multiple Decision Making Through Soft Interventions
![[literature reading] counting integer points in parametric polymers using barvinok's rational functions](/img/a2/3e1b248c7cd853ffea7a835111db65.png)
[literature reading] counting integer points in parametric polymers using barvinok's rational functions

VIM 配置文件

关于List<T>的属性与方法

【白话模电1】PN结与二极管

Rivaliser pour la guerre clé des utilisateurs de stock, aider les entreprises à construire un système d'étiquetage parfait 丨 01 examen en direct

Hands on deep learning - deep learning computing

如何理解Volatile以及如何使用它

HRNet

5章 性能平台GodEye源码分析-第三方模块
随机推荐
常见的Go写文件方式
Saber Pspice simulink电源仿真软件的区别
iFair: Learning Individually Fair Data Representations for Algorithmic Decision Making
[literature reading] counting integer points in parametric polymers using barvinok's rational functions
[go language] code coverage test (Gcov)
CABasicAnimation暂停\企动
windwos 下载安装OpenSSH
边缘检测方法 -- 一阶边缘检测
Array definition format
[MySQL] windows install MySQL 5.7
golang编译的常见错误
6章 性能平台GodEye源码分析-自定义拓展模块
The following packages have unmet dependencies: deepin.com.wechat:i386 : Depends: deepin-wine:i386
03基于ZigBee的城市道路除尘降温系统设计
Using XOR to exchange two variables is inefficient
Hands on deep learning - deep learning computing
apt-get update报错:Hash 校验和不符
静态库与动态库
VIM 配置文件
动手学深度学习--线性神经网络篇