Update README.md

This commit is contained in:
RonnieSan 2018-06-08 21:43:14 -07:00 committed by GitHub
parent 971804ff6b
commit 6f4a211ac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ You can then include the component on your page using the `name` property you se
``` ```
## Included Example ## Included Example
The template package includes a sample component (`my-component.vue`) that you can test it all out with. The command you would use to compile it would be `webpack --env.file=example`. The component has a name property of `example`, the the tagname you would use in your HTML woudl be `<example></example>`. The template package includes a sample component (`example.vue`) that you can test it all out with. The command you would use to compile it would be `webpack --env.file=example`. The component has a name property of `example`, the the tagname you would use in your HTML woudl be `<example></example>`.
The example component will print out the words "Hello, world." When the text is clicked, the word "world" will change to "foobar". The example component will print out the words "Hello, world." When the text is clicked, the word "world" will change to "foobar".