Skip to content

Support {source} input for vuejs script #597

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

Closed
wants to merge 1 commit into from

Conversation

xiaoping0x
Copy link

fix #596

@tmcw
Copy link
Member

tmcw commented Nov 14, 2016

Can you give an example of the vue context where this is needed? Sorry, from my knowledge of vue, I know that it's a rendering and application framework, but am not aware of any parts where vue has an opinion of how source files are transferred or processed that would yield this kind of input to documentation.js.

@tmcw
Copy link
Member

tmcw commented Nov 14, 2016

And - given that there's a valid vue-specific usecase, this will require a new test to make sure that the new functionality is covered and guaranteed by the test suite.

@tmcw
Copy link
Member

tmcw commented Nov 18, 2016

Closing: not hearing any more detail, and I don't feel comfortable supporting this feature without context for why it is the way it is. From this implementation, it looks like you can get the desired effect by setting shallow: true in your options, which will disable this dependency-following code and allow you to dictate already-read dependencies like this.

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

Successfully merging this pull request may close these issues.

Need support for document vue script
2 participants