04 2021 档案
摘要:https://blog.csdn.net/home_zhang/article/details/100514875 因为路由和文件路径不对引起的报错 配置方法如下(以项目名称为admin为例): 需要注意的地方,html中引用的静态文件要从assets开始写,不可以使用相对路径,例如: <img
阅读全文
[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available
摘要:原因: 在项目配置的时候,默认 npm 包导出的是运行时构建,即 runtime 版本,不支持编译 template 模板。 vue 在初始化项目配置的时候,有两个运行环境配置的版本:Compiler 版本、Runtime 版本。 其主要区别在于: Compiler 版本:可以对 template
阅读全文

浙公网安备 33010602011771号