Code Monkey home page Code Monkey logo

vue-dev-server's People

Contributors

paulpflug avatar sobolevn avatar

Stargazers

 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

Forkers

digideskio vnys

vue-dev-server's Issues

How to use hot reload?

Is there any way to reload the page where the component in when we save the file? I found that you suggested us to install vue-hot-reload-api, but I don't know how to use it in this tool. Could you please tell me more about that? Thanks~! ๐Ÿ˜…

Possibility to install as one package

Instead of how it is now - one main module plus several dependences.
Is that possible in principle?
Then it could be easier to jumps start usage and also could be installed as a global package to run later in potentially from any folder.
I've tried to put all of the packs in the package.json, like this


..
  "dependencies": {
    "vue-dev-server": "latest",
    "chokidar": "^1.6.0",
    "coffee-script": "^1.11.1",
    "commander": "^2.9.0",
    "cp": "^0.2.0",
    "cpr": "^2.0.0",
    "ip": "^1.1.3",
    "koa": "^1.2.4",
    "koa-hot-dev-webpack": "^0.1.1",
    "koa-sendfile": "^2.0.0",
    "koa-static": "^2.0.0",
    "script-runner": "^0.1.5",
    "vue-hot-reload-api": "^2.0.7",
    "vue-router": "^2.0.0",
    "vueify-insert-css": "latest",
    "webpack": "^1.13.2",
    "vue-loader": "^9.5.1",
    "vue": "^2.0.1",
    "css-loader": "^0.25.0",
    "vue-compiler": "^2.0.0",
    "vue-html-loader": "^1.2.3",
    "vue-style-loader": "^1.0.0"
  },
  "devDependencies": {
    "babel-core": "^6.21.0",
    "babel-loader": "^6.2.10",
    "babel-plugin-transform-runtime": "^6.15.0",
    "babel-preset-es2015": "^6.18.0",
    "babel-runtime": "^5.8.38",
    "casperjs": "^1.1.3",
    "coffee-loader": "^0.7.2",
    "css-loader": "^0.25.0",
    "phantomjs-prebuilt": "^2.1.13",
    "rimraf": "^2.5.4",
    "script-runner": "^0.1.5",
    "stylus": "^0.54.5",
    "vue-hot-reload-api": "^2.0.7",
    "vue-html-loader": "^1.2.3",
    "vue-style-loader": "^1.0.0"
  },
  "scripts": {
    ...
    "postinstall": "npm install --save-dev vue-html-loader css-loader vue-style-loader vue-hot-reload-api babel-loader babel-core babel-plugin-transform-runtime babel-preset-es2015 babel-runtime@5"
  }
}

and the run with smth like $ node node_modules/vue-dev-server/index.js.
But it fails with dev/myComponent.vue file parsing

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.