Default language for template tag #33
Closed
rafasoares
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
Hey Rafael @rafasoares Thanks for your kind words and support, definitely it's an oversight. 😅 I'll add it to the next release but a workaround should be making your own default page / layout templates without and Nuxtr will use them for future Vue files except for Components.
Here's how to do it Vue File Templates. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We can select the default
lang
for<script>
and<style>
tags, but not for<template>
. Maybe that was an oversight?I use Pug as a template engine, it would be lovely if components were already created with that setup (and with an empty
<template>
, instead of having the default<div></div>
- which is invalid in Pug). I know I could use default templates for this, but it seems overkill, not to mention a bit annoying to do for every project.Otherwise, I'm loving the extension and it's been a great time saver 😄
Beta Was this translation helpful? Give feedback.
All reactions