Coder Social home page Coder Social logo

doubanmovie-ssr's Introduction

Hey there

❤️ Programming | 💚 Dota | 💙 Anime

Software Engineering Graduate 2015. My passion for software lies with dreaming up ideas and making them come true with elegant interfaces.

  • 🛠️ I am currently studying relevant knowledge in the field of visual construction.
  • 📚 I’m currently learning Gamified thinking | Web development | App Development | Cyber Security
  • ❓ Ask me about anything. I will try to help you as much as I can.
  • 🎤 Quote: "Front-end means to be at the front of the user."
  • 🚗 How to reach me:
zhihu logo github logo juejin logo gmail logo

Profile Trophies

trophy


What I love

Coding Dota Anime

doubanmovie-ssr's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

doubanmovie-ssr's Issues

idea导入时会卡死

电脑配置💻:19款MPB顶配,只有导入这个工程时会卡死,其他工程就不会。那个doubanMovie项目也不会卡死

项目中有报错,但是不影戏正常运行 能解决下么

(node:7028) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'body' of undefined
at handler (C:\Users\hello\Desktop\doubanMovie-SSR-master\node_modules\vue-resource\dist\vue-resource.common.js:1109:53)
at C:\Users\hello\Desktop\doubanMovie-SSR-master\node_modules\vue-resource\dist\vue-resource.common.js:1120:41
at
at process._tickCallback (internal/process/next_tick.js:189:7)
(node:7028) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:7028) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

首页服务端渲染直出错误(懒得pl)

当前首页默认只在服务端渲染header部分,对于列表信息仍然走的其阿奴单异步渲染;如果列表信息也在服务端渲染的化,目前有问题
action.js部分

getMoving ({commit, state}) {
    return utils.get('/movie/in_theaters', {city: state.city}).then(res => {
      commit('MOVING_LIST', {list: res})
      commit('MOVING_LOADING', {loading: false})
    }).catch(e=>{
      console.log(e)
    })
  }

否则异步组件渲染不出来,状态仍为初始状态

运行报接口错误

cnpm i
npm run dev
打开localhost8080报接口异常,请问需要配置什么吗?

疑问建议

整个项目中还是没有看到从后端取数据渲染的过程,后端渲染部分的数据都是写死在页面上的,所以这部分的参考意义就比较弱了。我尝试修改了preFetch,发现可以调用到action中,api的回调中没有日志输出。是因为vue-resource不支持后端联网么?所以整个项目给人的感觉还是比较迷惑。

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.