chushihua
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
# vue-loader [](https://circleci.com/gh/vuejs/vue-loader/tree/master) [](https://ci.appveyor.com/project/yyx990803/vue-loader/branch/master) [](https://www.npmjs.com/package/vue-loader)
|
||||
|
||||
> Vue.js component loader for [Webpack](https://webpack.js.org/).
|
||||
|
||||
<p align="center">
|
||||
<img width="809px" src="https://raw.githubusercontent.com/vuejs/vue-syntax-highlight/master/samples/screenshot.png">
|
||||
</p>
|
||||
|
||||
The best way to get started is with [vue-cli](https://github.com/vuejs/vue-cli):
|
||||
|
||||
``` js
|
||||
npm install -g vue-cli
|
||||
vue init webpack-simple hello
|
||||
cd hello
|
||||
npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
This will setup a basic Webpack + `vue-loader` project for you, with `*.vue` files and hot-reloading working out of the box!
|
||||
|
||||
For advanced `vue-loader` configuration, checkout the [documentation](https://vue-loader.vuejs.org).
|
||||
Reference in New Issue
Block a user