Code Monkey home page Code Monkey logo

homomaid.vue's Introduction

homomaid.vue

What is this?

http-vue-loader + babel-standalone + RequireJS

How do I use?

Open here or clone repo and serve index.html via a Web server.

homomaid.vue's People

Contributors

chitoku-k avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

homomaid.vue's Issues

only special version of http-vue-loader can work

i change mian.js , then dont work.

before:

'http-vue-loader':
      'https://cdn.rawgit.com/chitoku-k/http-vue-loader/bc8e142332b8f396715ec3fc61fbad03ae2a8040/src/httpVueLoader'

it ok.

after: dont work version

'http-vue-loader': '../../node_modules/http-vue-loader/src/httpVueLoader'

and i make package.json.

"dependencies": {
    "http-vue-loader": "^1.3.5"
  }

throw this error
image

Can't import the other vue component

components/homomaid.vue

<template>
  <div class="wrapper">
     <FooBar />
  </div>
</template>
<script lang="babel">
import FooBar from 'component!components/fooBar'

export default {
  components: {
    FooBar
  }
}
</script>

Error Message in console

vue.js:597 [Vue warn]: Unknown custom element: <foobar> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

help,me! Why can't I run this demo?

The error message is:
Uncaught Error: Load timeout for modules: babel!app_unnormalized2,babel!app,babel!router.

I downloaded mian's dependency. The error message is:
Unhandled promise rejection SyntaxError: Unexpected reserved word
at Function (native)
at Object.ScriptContext.compile (http://localhost:6300/homomaid.vue/js/libs/copy/httpVueLoader.js:161:17)
at Object.Component.compile (http://localhost:6300/homomaid.vue/js/libs/copy/httpVueLoader.js:335:44)
at http://localhost:6300/homomaid.vue/js/libs/copy/httpVueLoader.js:388:38
at http://localhost:6300/homomaid.vue/js/libs/node_modules/babel-polyfill/dist/polyfill.min.js:2:29463
at http://localhost:6300/homomaid.vue/js/libs/node_modules/babel-polyfill/dist/polyfill.min.js:2:29572
at MutationObserver.n.exports.f (http://localhost:6300/homomaid.vue/js/libs/node_modules/babel-polyfill/dist/polyfill.min.js:1:19861)

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.