Home

Issue: 1760

Input type being stripped on `nuxt generate`

[issue link]

After running nuxt generate an <input type="text" id="name"> becomes <input id="name">.

I made a demo repo here --> https://github.com/stursby/nuxt-tags-bug

For example, if I’m styling using the following, it’s no longer applied after generating.

input[type=text] {
  background: lightgray;
  outline: none;
  border: none;
}

Here’s what it looks like when running nuxt

image

And then after running nuxt generate

image

This question is available on Nuxt.js community (#c1581)