W~C停用

导航

随笔分类 -  WebPack

关于WebPack相关的问题
webpack中使用Vue时需要的配置
摘要:1、安装相关Loader 在项目文件夹中使用终端执行: npm install vue-loader vue-template-compiler --save-dev 2、在web配置文件中的相关配置 阅读全文

posted @ 2021-02-19 22:27 W~C停用 阅读(82) 评论(0) 推荐(0)

在webpack中使用Vue时报错:You are using the runtime-only build of Vue where the template compiler is not available
摘要:在webpack的配置文件中加入以下代码: resolve:{ alias:{ 'vue$':'vue/dist/vue.esm.js' } } 阅读全文

posted @ 2021-02-19 21:36 W~C停用 阅读(52) 评论(0) 推荐(0)

Node.js与Webpack和npm之间的关系
摘要:Webpack依赖于Node.js,Node.js里面有很多的包,而npm可以很好的管理Node,js里面的包 查看Node.js版本号的相关代码 在cmd指令矿中执行:node -v 阅读全文

posted @ 2021-02-17 17:09 W~C停用 阅读(83) 评论(0) 推荐(0)