Comments (6)
该问题的原因我尚未找到,推测是 Vue 推出了新版本引起的,晚上我回家调试一下。
from blog.
这是我找到别的 issue,里面有解决方案,还没有测试,可以先试着解决一下。
from blog.
{
"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
from blog.
{
"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上找的,百度和谷歌都没找到答案,非常感谢
from blog.
:P 目前这个 Blog 被反馈在苹果系系统下无法查看文章,推测是中文前端路由引起,我正打算在最近更换成英文路由。
from blog.
:P 目前这个 Blog 被反馈在苹果系系统下无法查看文章,推测是中文前端路由引起,我正打算在最近更换成英文路由。
好的,分页感觉可以抽出来一个组件,每个页面都会用这个的,非常感谢了,我先试试
from blog.
Related Issues (2)
- 很简洁很漂亮博客,是不是还需要一个评论系统 HOT 1
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 blog.