Coder Social home page Coder Social logo

nodejsvuepractice's Issues

vue中的问题

你好,兄弟 我发现这个项目有bug,当你点击几次省份时候,会报错 之后就整个页面就渲染不出来了,可以加你的扣扣吗?方便彼此交流

点到天气详情页面报错信息

vue.common.js?e881:1137 [Vue warn]: Data field "filterType" is already defined as a prop. To provide default value for a prop, use the "default" prop option; if you want to pass prop values to an instantiation call, use the "propsData" option. (found in component: )
warn @ vue.common.js?e881:1137
Vue._initData @ vue.common.js?e881:8074
Vue._initState @ vue.common.js?e881:8027
Vue._init @ vue.common.js?e881:2573
Vue._init @ vue-router.js?e71f:1756
VueComponent @ VM9250:2
build @ vue.common.js?e881:5963
mountComponent @ vue.common.js?e881:5880
(anonymous) @ vue.common.js?e881:5842
(anonymous) @ vue.common.js?e881:5860
cb @ vue.common.js?e881:367
Vue._resolveComponent @ vue.common.js?e881:9033
resolveComponent @ vue.common.js?e881:5862
setComponent @ vue.common.js?e881:5841
bind @ vue.common.js?e881:5801
Directive._bind @ vue.common.js?e881:8489
linkAndCapture @ vue.common.js?e881:7058
compositeLinkFn @ vue.common.js?e881:7027
Vue._compile @ vue.common.js?e881:8775
Vue.$mount @ vue.common.js?e881:9610
Vue._init @ vue.common.js?e881:2583
Vue._init @ vue-router.js?e71f:1756
VueComponent @ VM9249:2
build @ vue.common.js?e881:5963
activate @ vue-router.js?e71f:1176
(anonymous) @ vue-router.js?e71f:1480
step @ vue-router.js?e71f:1503
(anonymous) @ vue-router.js?e71f:1506
deactivate @ vue-router.js?e71f:1119
step @ vue-router.js?e71f:1505
runQueue @ vue-router.js?e71f:1500
(anonymous) @ vue-router.js?e71f:1464
step @ vue-router.js?e71f:1503
(anonymous) @ vue-router.js?e71f:1506
(anonymous) @ vue-router.js?e71f:1098
(anonymous) @ vue-router.js?e71f:845
resolve @ vue.common.js?e881:9025
(anonymous) @ VM9096:60
(anonymous) @ app.js:136
webpackJsonpCallback @ app.js:19
(anonymous) @ 0.0.js:1
vue.common.js?e881:1137 [Vue warn]: Data field "filterType" is already defined as a prop. To provide default value for a prop, use the "default" prop option; if you want to pass prop values to an instantiation call, use the "propsData" option. (found in component: )

无法启动

你好,我按照你的README文档clone了项目,可是无法启动,提示报错说是无法解析file或directory,首页显示是Can't GET

node build/dev-server.js

Listening at http://localhost:8080

[BABEL] Note: The code generator has deoptimised the styling of "/opt/project/github/WeatherVue/WeatherVue/src/common/citieslatlon.js" as it exceeds the max of "500KB".
webpack built 5ce568873cfdf1ee3ff4 in 8708ms
Hash: 5ce568873cfdf1ee3ff4
Version: webpack 1.14.0
Time: 8708ms
                            Asset     Size  Chunks       Chunk Names
static/img/background.714dd94.png  13.4 kB               
                           0.0.js   105 kB       0       
                           app.js  4.09 MB       1       app
                           2.2.js  75.6 kB       2       
                           3.3.js  68.1 kB       3       

ERROR in ./src/main.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./components/County.vue in /opt/project/github/WeatherVue/WeatherVue/src
 @ ./src/main.js 54:16-61
Child html-webpack-plugin for "index.html":
         Asset     Size  Chunks       Chunk Names
    index.html  22.3 kB       0       
webpack: bundle is now VALID.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.