Changes to README to make less confusing

This commit is contained in:
RonnieSan 2018-04-21 22:19:16 -07:00 committed by GitHub
parent 32a80c2047
commit c438a0d25f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ First, create your `.vue` file anywhere in the `src` folder.
Second, run the webpack compiler and point the `--env.file` argument to the .vue file you created (you don't need to add the extension)
``` bash
$ webpack --env.file=test
$ webpack --env.file=path/to/my-component
```
The webpack compiler runs in watch mode so any changes you make will update the compiled file. The compiled file will be created at the same relative path in the `dist` folder. So if you create a component at `src/my-component/my-rad-component.vue`, the compiled file will be located in `dist/my-component/my-rad-component.js`. You can now do what you want with the compiled JS file.