Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vuejs-templates/webpack-simple
A simple Webpack + vue-loader setup for quick prototyping.
https://github.com/vuejs-templates/webpack-simple
Last synced: 28 days ago
JSON representation
A simple Webpack + vue-loader setup for quick prototyping.
- Host: GitHub
- URL: https://github.com/vuejs-templates/webpack-simple
- Owner: vuejs-templates
- Created: 2015-12-27T01:32:14.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-12-11T12:59:12.000Z (almost 3 years ago)
- Last Synced: 2024-10-02T01:10:28.812Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 52.7 KB
- Stars: 2,269
- Watchers: 68
- Forks: 894
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - vuejs-templates/webpack-simple - A simple Webpack + vue-loader setup for quick prototyping. (JavaScript)
- awesome - vuejs-templates/webpack-simple - A simple Webpack + vue-loader setup for quick prototyping. (JavaScript)
README
# webpack-simple
> A simple Vue 2.0 Webpack & `vue-loader` setup for quick prototyping. Note this template is not suitable for production - for that you may want to use the [full webpack template](https://github.com/vuejs-templates/webpack).
> This template is Vue 2.0 compatible. For Vue 1.x use this command: `vue init webpack-simple#1.0 my-project`
### Usage
This is a project template for [vue-cli](https://github.com/vuejs/vue-cli).
``` bash
$ npm install -g vue-cli
$ vue init webpack-simple my-project
$ cd my-project
$ npm install
$ npm run dev
```### What's Included
- `npm run dev`: Webpack + `vue-loader` with proper config for source maps & hot-reload.
- `npm run build`: build with HTML/CSS/JS minification.
For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader). Also check out the [breaking changes in [email protected]](https://github.com/vuejs/vue-loader/releases/tag/v9.0.0).
### Fork It And Make Your Own
You can fork this repo to create your own boilerplate, and use it with `vue-cli`:
``` bash
vue init username/repo my-project
```