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

Specifying style language in vue templates #2

Closed
tomcastleman opened this issue Jul 5, 2016 · 1 comment
Closed

Specifying style language in vue templates #2

tomcastleman opened this issue Jul 5, 2016 · 1 comment

Comments

@tomcastleman
Copy link

In my .vue template I am trying to specify the style language as per v5:

<style lang="sass">
</style>

However elixir 6 gives this error:

ERROR in ./resources/assets/js/components/Foo.vue
Module not found: Error: Can't resolve 'sass' in '/full/path/to/resources/assets/js/components/Foo'
 @ ./resources/assets/js/components/Foo.vue 2:0-205

Do I need to pull in another module, configure the vue-style-loader for sass, or is this currently unsupported?

Thanks

@JeffreyWay
Copy link
Owner

Vue Loader lets you use practically any pre-processor. So, yes, you'd pull in that package.

http://vue-loader.vuejs.org/en/configurations/pre-processors.html

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