zoukankan      html  css  js  c++  java
  • atom执行num run dev报错

    atom运行npm run dev报错问题


    运行描述

    vue项目,直接在终端中运行 npm run dev 可以成功执行。但是在atom安装的platformio-ide-terminal插件中打开一个终端运行报错

    解决方案

    在webpack.dev.conf.js中添加如下配置即可

    const ExtractTextPlugin = require('extract-text-webpack-plugin')
    
    plugins: [
      ...
      // extract css into its own file
      new ExtractTextPlugin({
        filename: utils.assetsPath('css/[name].[contenthash].css'),
        // set the following option to `true` if you want to extract CSS from
        // codesplit chunks into this main css file as well.
        // This will result in *all* of your app's CSS being loaded upfront.
        allChunks: false,
      })
    ]
    
  • 相关阅读:
    Java Web开发 之VO、PO、DTO等收集
    Hive的安装与使用
    各种默认回车提交表单
    A/B Problem
    A+B Problem II
    A+B Problem IV
    关于521
    劝你别做
    无主之地1
    A+B Problem(V)
  • 原文地址:https://www.cnblogs.com/jinjiyese153/p/10430822.html
Copyright © 2011-2022 走看看