Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

142
Visualizações
How can I bake out the CSS embedded in my .vue files?

I'm trying to do some static analysis of my application's fairly complicated frontend, which is written in Vue.js. In particular, I'd like to be able to analyze the CSS that's generated. (See for example an earlier question I wrote.)

I've gotten to the point of being able to do the traversal of a vanilla CSS file, and then I realized that the actual CSS I want to analyze is buried in .vue files where we've defined everything in one place.

For example:

<template>
  <div>
    <div id="informationApp"><img class="logo" src="/elephant.png">
      <div id="infoContent">
        <nuxt></nuxt>
      </div>
    </div>
  </div>
</template>

<style lang="sass">
@import '~assets/theme'

#informationApp
  width: 100vw
  height: 100vh

Is there a way to bake out the "compiled" (but preferably still human-readable) CSS or SASS that's contained in all my Vue.js files so that I can run my static analyzer on them?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda