Skip to content

Conversation

@apauly
Copy link

@apauly apauly commented Sep 15, 2017

As stated in the README and the tests, it's already possible to use sprockets directives like require outside of the three tags (template, script, style).

This seems to only work with .vue files.
I wanted to require an external JS-plugin in order to add a Vue integration for it.
Therefore, it's now possible to add sprockets directives inside the script tag.

However, it's currently not possible to use both at the same time.

The existing tests still passed - I've added an additional test for the new functionality.

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.

1 participant