question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Vue build docs out of date, should mention Poi

See original GitHub issue

I’m new to Vue, vue-cli, etc, but I was excited to see that “vue build” could prepare a build for production. I was less happy when I saw this, because the main repository readme points me to https://github.com/vuejs/vue-cli/blob/master/docs/build.md to learn about building:

-> vue build

We are slimming down vue-cli to optimize the initial installation by removing the vue build command. Check out Poi (https://github.com/egoist/poi) which offers the same functionality!

On the awesome side, I installed Poi, and it works, but I think it would be nice to have documentation here about how to use Poi as the build tool. It seems like Poi can do more than just build though? Can it do everything vue-cli can do? Some words about the relationship between the two tools here would be really appreciated by a noob like me, who is also learning a million other things right now. I want to learn about Poi more, but right now I just need to know how it relates to vue-cli as the replacement build tool.

Thanks.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

12reactions
daveknapikcommented, Nov 2, 2017

@posva Thanks for your reply. I read #589 but I still think the 2.x docs should not tell us to use vue-build when vue-build is no longer a part of the project. True, you run it and it tells you to use Poi, but a few sentences here about what part of poi you need to focus on, I think, would really help. Poi is a deep, deep project and telling us to basically RTFM isn’t a great answer, imho.

2reactions
halex2005commented, Nov 7, 2017

@LinusBorg, @posva, I’m agreed with @daveknapik. I just started to use vue-cli and found the section in main readme:

### vue build

Use vue-cli as a zero-configuration development tool for your Vue apps and component, check out the [docs](https://github.com/vuejs/vue-cli/blob/master/docs/build.md).

Then I read that docs link and run vue build Component.vue command for my component. And what do you think I saw in the console output?

  We are slimming down vue-cli to optimize the initial installation by removing the `vue build` command.
  Check out Poi (https://github.com/egoist/poi) which offers the same functionality!

What the shame for official docs! I’m sorry for time spent. It would be better if I just got a link to the poi’s documentation on how to use it.

Actually, vue build command was removed on 2 of October 2017. Why documentation was not updated yet? Should I make PR to fix docs?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deployment - Vue CLI
You can deploy the built content in the dist directory to any static file server, but make sure to set the correct publicPath....
Read more >
Build an App with Vue.js, Node.js, Express & Couchbase
We're going to create a single-page web app that shows points of interest (POI) around hotels selected from a list of cities. The...
Read more >
Creating reusable components with Vue.js - Tooling overview
Therefore I've decided to refuse poi.js and vue.js in favour of proven react.js + mobx. This post must be considered as outdated.
Read more >
Overview | Maps JavaScript API - Google Developers
Get started with the Google Maps JavaScript API. View a simple example, learn the concepts, and create custom maps for your site.
Read more >
Build Tools - Vue Community
As with Vue CLI, Poi leans more towards building applications than libraries. # Features. Out of box support for JS, CSS, File assets...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found