Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config has no effect on generate #28

Closed
janiskelemen opened this issue Jan 11, 2019 · 7 comments
Closed

Config has no effect on generate #28

janiskelemen opened this issue Jan 11, 2019 · 7 comments

Comments

@janiskelemen
Copy link

Hi,

nice tool! However, I cannot seem to get the config file to work. No matter what I type in there as include value it always loads all .vue files from my project root. Even if I directly enter an include option like vuese gen --include="assets/js/components//*.vue"** it just seems to ignore the given path.

Best regards
Janis

@HcySunYang
Copy link
Member

Can you provide the approximate structure of your project?

@janiskelemen
Copy link
Author

it is the default laravel structure. the Vue files life in assets/js/components/**
some example paths:
resources/assets/js/components/table/autocomplete.vue
resources/assets/js/components/dropdown/dropdown.vue
resources/assets/js/components/base/modal-dialog.vue

@janiskelemen
Copy link
Author

also the --outDir="test" does not change the output folder. It always goes to website folder.

@HcySunYang
Copy link
Member

The pattern string "assets/js/components/**/*.vue" is matching all, do you need "assets/js/components/*/*.vue"?

@janiskelemen
Copy link
Author

That makes no difference. Even if I enter "assets/js/components/asdasdasdasdasd/*.vue" it still loads all vue files

@HcySunYang
Copy link
Member

@janiskelemen I have released version 1.4.7 to solve this problem.

@janiskelemen
Copy link
Author

Thanks that worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants