B
B
BonBon Slick2020-01-13 11:01:32
css
BonBon Slick, 2020-01-13 11:01:32

@import url vs '@/assets.css'?

Is there a difference between the entries for webpack css loader ?
If yes, which one and why?

<style lang="scss" module type="text/scss">
    @import url('local.scss');
    @import 'local.scss';
</style>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
profesor08, 2020-01-13
@BonBonSlick

Obviously, you just need to look at the result. The first is the usual css file import that will be loaded after loading. The second is a normal include in scss

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question