-
Notifications
You must be signed in to change notification settings - Fork 61
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
how to activate web-mode for template #89
Comments
You're close, but the data structure of
Alternatively, you can redefine (:type template :name html :mode web-mode)
(:type template :name nil :mode web-mode)
(:type template :name nil :mode vue-html-mode) ; remove
(:type template :name html :mode vue-html-mode) ; these Although you addressed this in your initial report, I'd like to reiterate that using |
Thanks for your answer. Well, I tried to redefine
Not what I expected, but maybe one of the first issues trying to use web-mode as a sub-mode... |
Hi,
I've read that mixing web-mode with vue-mode brings unsolved issues, but I've been using web-mode so much (and still continues on non vue projects) that using something different is painful.
So I thought I'd nevertheless try to mix them and see if the benefits of vue-mode would outweight the cons of the issues.
I tried to activate web-mode using this configuration
in a .vue SFC file, I then have vue-modes' value being
According to this SE answer, I understand the elements I've added at the top of the list would override the default ones.
But when opening a .vue file, the active mode inside a
<template>
section isAny idea of what is wrong here ?
The text was updated successfully, but these errors were encountered: