0

Currently, I am learning vue2 and I am stuck. My question is where I can include external CSS in Vuejs2 ?

Please suggest me any solution

Thanks

2
  • Your best bet is at the bottom of your index. Commented Oct 31, 2017 at 12:29
  • @Beau you mean just include css in index.html in bottom right .? Commented Oct 31, 2017 at 12:32

1 Answer 1

2

if you're using webpack you can just import your stylesheets in your main js config and all your components will get the css. like this :

require('./assets/css/main.css');
Sign up to request clarification or add additional context in comments.

1 Comment

youre wellcome ;)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.