0

What should I do to have a .scss file at my /src/assets compiled to /public folder?

I started a project using VUE CLI.

Lincoln Lemos
  • 398
  • 2
  • 8

1 Answers1

0

in your main.ts

import '@/assets/main.scss';
jeremy castelli
  • 1,232
  • 10
  • 26
  • Thanks, but doing that the file will be inserted at the bundle. I don't want this. I want to have my .scss file compiled to .css and pushed at the /public so I can have access it from a unique url like myapp.com/my-file.css – Lincoln Lemos Sep 17 '20 at 17:57
  • oh ok sorry I misunderstood the question. check this : https://stackoverflow.com/a/61897037/2246035 – jeremy castelli Sep 17 '20 at 21:50