vbuild
Badges
tl;dr
vbuild dev whatever.js
# it just works
Develop web apps with no build configuration until you need.
Install
It works with both Yarn(>=0.17) and npm(>=3):
yarn global add vbuild
# You can also install it locally
# yarn add vbuild --dev
Come from vbuild 6? Check out the 2-minute migration guide.
How to use
Populate an entry file, let's say index.js:
import Vue from 'vue'
new Vue({
el: '#app',
render(h) {
return h('h1', 'hello world')
}
})
Run app in dev mode:
vbuild dev index.js
So far we get:
- Automatic transpilation and bundling (with webpack and babel/postcss)
- Hot code reloading
- Static file in
./static/will be copied to./dist/
Build app in production mode (default mode):
vbuild index.js
Note: You can use vbuild with many frameworks easily, check out examples.
For full documentation, please head to https://vbuild.js.org
Who is using vbuild?
- codepan - Like codepen and jsbin but works offline.
- jsx-editor - JSX Live Editor
- vstar - A simple web app to show your or others GitHub repos stars
- npmarket - More efficient search for node packages
- sublog - Build a static blog website from GitHub Issues
- Feel free to submit yours via pull request :D
FAQ
Is it like Next.js or Nuxt.js?
Yes and no, yes is because they all simplified the process of building a complete web app, while vbuild is more focusing on building single-page app without the server-side, at least it is for now.
Is it like vue-cli?
No, vue-cli is just a boilerplate generator while vbuild is a Webpack wrapper which reduces boilerplate code for you.
You may notice that there's a vue build command lying in vue-cli, that's actually quite similar to vbuild, but providing less features and vbuild goes far beyond that.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Author
vbuild © EGOIST, Released under the MIT License.
Authored and maintained by egoist with help from contributors (list).
egoistian.com · GitHub @egoist · Twitter @rem_rin_rin
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 7.2.4 | ^2.3.0 | MIT | |
| 7.2.3 | ^2.3.0 | MIT | |
| 7.2.2 | ^2.3.0 | MIT | |
| 7.2.1 | ^2.2.6 | MIT | |
| 7.2.0 | ^2.2.6 | MIT | |
| 7.1.1 | ^2.2.6 | MIT | |
| 7.1.0 | ^2.2.6 | MIT | |
| 7.0.7 | ^2.2.6 | MIT | |
| 7.0.6 | ^2.2.6 | MIT | |
| 7.0.5 | ^2.2.6 | MIT | |
| 7.0.4 | ^2.2.6 | MIT | |
| 7.0.3 | ^2.2.6 | MIT | |
| 7.0.2 | ^2.2.6 | MIT | |
| 7.0.1 | ^2.2.6 | MIT | |
| 7.0.0 | ^2.2.6 | MIT | |
| 6.24.16 | ^2.2.2 | MIT | |
| 6.24.15 | ^2.2.2 | MIT | |
| 6.24.14 | ^2.2.2 | MIT | |
| 6.24.13 | ^2.2.2 | MIT | |
| 6.24.11 | ^2.2.2 | MIT | |
| 6.24.10 | ^2.2.2 | MIT | |
| 6.24.9 | ^2.2.2 | MIT | |
| 6.24.8 | ^2.2.2 | MIT | |
| 6.24.7 | ^2.2.2 | MIT | |
| 6.24.6 | ^2.2.2 | MIT | |
| 6.24.5 | ^2.2.2 | MIT | |
| 6.24.4 | ^2.2.2 | MIT | |
| 6.24.3 | ^2.2.2 | MIT | |
| 6.24.2 | ^2.2.2 | MIT | |
| 6.24.1 | ^2.2.2 | MIT |
Showing the latest 30 of 170. See every release on npm
Pre-releases (5)
| Version | Released | Vue | License |
|---|---|---|---|
| 7.0.0-beta.3 | ^2.2.6 | MIT | |
| 7.0.0-beta.2 | ^2.2.6 | MIT | |
| 7.0.0-beta.1 | ^2.2.6 | MIT | |
| 3.0.0-rc.1 | ^2.0.2 | MIT | |
| 1.0.0-beta.1 | ^2.0.0-beta.2 | MIT |