首页 > TAG信息列表 > vuecli4

"export 'watchEffect' was not found in 'vue'

操作:运行npm run serve bug重现: 解决: 博客 版本错误。将vuecli4换成vuecli3  

vueCli4 安装 sass

我之前就知道安装sass要注意版本问题,之前也做了笔记,但是今天安装我忘了我以前的笔记写在哪里了(

vuecli4中配置打包使用相对路径

元气满满,直接干! 使用vuecli4进行项目打包时,默认使用的是根目录的方式,这样打包直接项目直接运行就是一个大白屏,非常难受! 这时我们就需要在设置打包使用相对目录的方式,设置过程非常简单。 1. 在vuecli跟目录下添加 `vue.config.js`作为配置文件 2. 添加以下配置: module.exports =

vuecli4创建项目失败command failed: npm install --loglevel error

vuecli4创建项目时总是失败,报错command failed: npm install --loglevel error 安装淘宝镜像也是报错, 在网上找的方法 npm install chromedriver --chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver 完成操作之后重新创建一下项目vue create **** 我安装版

vuecli4配置路由 简单记录一下

首先安装路由 npm install vue-router 安装完成后,在项目中新建一个router文件夹,一个index.js index.js 中写入 import { createRouter, createWebHashHistory } from 'vue-router' import Index from '../views/Index.vue' import ExpertInfo from '../views/ExpertInfo