Comments (9)
直接使用 cnpm 可能会导致依赖不正确。强烈建议给 npm 设置 taobao 的 registry。
npm install --registry=https://registry.npm.taobao.org
如果你遇到 $t 报错问题,先删除 node_modules 再重装依赖。
from vue-cli-multi-page.
谢谢大神回复,我再试一下你的方法 ,再求一个帮组,我对webpack,express不熟悉,捣鼓配置一直出错,楼主能不能出一个简洁版的架子 啊,不要测试啊什么的,就这些(现在不用这个,也用不来...),非常感谢
"unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
"e2e": "node test/e2e/runner.js",
"test": "npm run unit && npm run e2e"
from vue-cli-multi-page.
都是睡不着的人~!~
from vue-cli-multi-page.
这几个unit e2e test你不用就行了,不影响你构建的
from vue-cli-multi-page.
我也遇到了这个问题 安装的时候会抛错 不知道是什么原因删掉node_modules 再重装就可以了
而且在一台电脑上 运行npm run dev就正常的,另一台电脑就会出现let关键字报错的情况
望解决
from vue-cli-multi-page.
cnpm 说实话经常会下载失败,yarn设了淘宝源,也并没有好转,推荐每次cnpm i 后在npm i查找下有没有没下载的
from vue-cli-multi-page.
新建文件夹必须要重新run dev么?
from vue-cli-multi-page.
是的,新建页面必须要npm run dev
from vue-cli-multi-page.
我引入import mui from 'assets/lib/mui/mui.min.js';
报错Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
网上说是严格模式,网上给的方法没能解决
请问这个怎么处理啊
from vue-cli-multi-page.
Related Issues (20)
- 能在views 同级目录再创建模块么
- 多页面seo该如何解决? HOT 1
- 编译很慢,不知道从哪开始入手优化? HOT 2
- 公共模块问题
- 使用此项目的多页面商城,打包之后出现webpackJsonp的问题! HOT 1
- views下面的模块的二级目录 是所有模块都必须保持一致吗?
- 打包文件目录配置!
- 请求components文件夹里的公共组件怎么引用图片
- 给变量赋值总是不成功为什么 HOT 3
- 关于开发环境编译后会出现内存过大超出的问题 HOT 4
- 在Lib中使用common中的方法生产环境报不能识别,调试环境无异常
- 修改为history模式,本地测试的页面无法访问 HOT 1
- npm run build --report不会生成带版本的资源文件
- 每次npm run build版本号都会变,怎样做到只有文件改变,版本号才会变?
- npm install直接报错都不能用了
- 可以使用vuex吗? HOT 1
- 请问大家在自己公司的项目中用这个脚手架了吗?
- 请问作者还维护这个项目吗? 肿么这么没有安全感
- dist怎么没有一个根index.html,怎样进行相互的一个跳转呢
- @bluefox1688 被你的脚手架搞死了,大兄弟出来挨打!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-cli-multi-page.