Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一个小报错 #1

Closed
alpha2016 opened this issue Dec 27, 2016 · 6 comments
Closed

一个小报错 #1

alpha2016 opened this issue Dec 27, 2016 · 6 comments

Comments

@alpha2016
Copy link

qq 20161227161326

按照你的readme.md, 然后安装之后有这个报错了,这个是什么原因?

@ss098
Copy link
Owner

ss098 commented Dec 27, 2016

该问题的原因我尚未找到,推测是 Vue 推出了新版本引起的,晚上我回家调试一下。

@ss098
Copy link
Owner

ss098 commented Dec 27, 2016

shentao/vue-multiselect#179

这是我找到别的 issue,里面有解决方案,还没有测试,可以先试着解决一下。

@ss098
Copy link
Owner

ss098 commented Dec 27, 2016

{
  "private": true,
  "scripts": {
    "prod": "gulp --production",
    "dev": "gulp watch"
  },
  "devDependencies": {
    "gulp": "^3.9.1",
    "laravel-elixir": "^6.0.0-15",
    "laravel-elixir-vue-2": "^0.2.0",
    "laravel-elixir-webpack-official": "^1.0.10",
    "moment": "^2.17.1",
    "simplemde": "^1.11.2",
    "store": "^1.3.20",
    "vue": "2.1.6",
    "vue-loader": "^10.0.2",
    "vue-resource": "^1.0.3",
    "vue-router": "^2.1.1",
    "vue-template-compiler": "2.1.6",
    "vuex": "^2.0.0"
  }
}

向你提供了一个临时的 package.json,经过测试有效。

rm -rf node_modules
cnpm install
npm run prod

@alpha2016
Copy link
Author

{
"private": true,
"scripts": {
"prod": "gulp --production",
"dev": "gulp watch"
},
"devDependencies": {
"gulp": "^3.9.1",
"laravel-elixir": "^6.0.0-15",
"laravel-elixir-vue-2": "^0.2.0",
"laravel-elixir-webpack-official": "^1.0.10",
"moment": "^2.17.1",
"simplemde": "^1.11.2",
"store": "^1.3.20",
"vue": "2.1.6",
"vue-loader": "^10.0.2",
"vue-resource": "^1.0.3",
"vue-router": "^2.1.1",
"vue-template-compiler": "2.1.6",
"vuex": "^2.0.0"
}
}

向你提供了一个临时的 package.json,经过测试有效。

rm -rf node_modules
cnpm install
npm run prod

谢谢,这个有效果,我应该先在github上找的,百度和谷歌都没找到答案,非常感谢

@ss098
Copy link
Owner

ss098 commented Dec 27, 2016

:P 目前这个 Blog 被反馈在苹果系系统下无法查看文章,推测是中文前端路由引起,我正打算在最近更换成英文路由。

@alpha2016
Copy link
Author

:P 目前这个 Blog 被反馈在苹果系系统下无法查看文章,推测是中文前端路由引起,我正打算在最近更换成英文路由。

好的,分页感觉可以抽出来一个组件,每个页面都会用这个的,非常感谢了,我先试试

@ss098 ss098 closed this as completed Dec 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants