From c438a0d25f3efa8f7461548d536b1bd8846466cf Mon Sep 17 00:00:00 2001 From: RonnieSan Date: Sat, 21 Apr 2018 22:19:16 -0700 Subject: [PATCH] Changes to README to make less confusing --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a26f6b9..85ef609 100644 --- a/README.md +++ b/README.md @@ -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.