You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.
TemplateGenerator.js
add something like this:
...
key: '_createDirectory',
value: function _createDirectory(dirPath, data, fileTypes) {
...
name = name.split('/').slice(-1).join('').split('\'').slice(-1).join('');
so that you can generate a component with a path from the root of the project
like this:
vgc src/components/Home
this is probably not the best solution, but I really want to be able to generate components from the root of the project
The text was updated successfully, but these errors were encountered: