zoukankan      html  css  js  c++  java
  • vue 构建报错

    <% for(var css of htmlWebpackPlugin.options.cdn.css) { %> <% } %> <% if(process.env.VUE_APP_ENV == 'development') { %> <% } %>
    <% for(var js of htmlWebpackPlugin.options.cdn.js) { %> <% } %>
    Navigated to http://localhost:8081/
    localhost/:1 Refused to apply style from 'http://localhost:8081/%3C%=%20BASE_URL%20%%3Eiconfont/iconfont.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
    localhost/:1 Refused to apply style from 'http://localhost:8081/%3C%=%20process.env.VUE_APP_OSS_URL%20%%3E/static/js/%3C%=css%%3E' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
    localhost/:74 GET http://localhost:8081/%3C%=%20process.env.VUE_APP_OSS_URL%20%%3E/static/%3C%=js%%3E net::ERR_ABORTED 500 (Internal Server Error)
    localhost/:74 GET http://localhost:8081/%3C%=%20process.env.VUE_APP_OSS_URL%20%%3E/static/%3C%=js%%3E net::ERR_ABORTED 500 (Internal Server Error)
    (index):40 2021/8/24 上午11:34:28:818 interactive
    (index):40 2021/8/24 上午11:34:28:818 DOMContentLoaded
    (index):40 2021/8/24 上午11:34:28:988 complete
    (index):40 2021/8/24 上午11:34:28:988 onload
    %3C%=%20BASE_URL%20%%3Efavicon.ico:1 GET http://localhost:8081/%3C%=%20BASE_URL%20%%3Efavicon.ico 500 (Internal Server Error)
    打不死的小强
  • 相关阅读:
    数组,一维,二维,多维
    类函数:string、math
    while和for的内嵌
    循环语言(for)
    选择语言之switch case
    程序语言
    语言、数据和运算符
    原理之一,进制转换
    HTML第一部分
    结构体共用变量 递归
  • 原文地址:https://www.cnblogs.com/mggahui/p/15179594.html
Copyright © 2011-2022 走看看