D
D
Denis Bukreev2018-10-02 23:02:02
Vue.js
Denis Bukreev, 2018-10-02 23:02:02

How to display browser classes in html tag in VueJS?

I tried to tweak modernizr - for some unknown reason, it import 'modernizr'causes an error that there is no such thing in node_modules (although the plugin itself appears there).
I went further, googled about modernizr-webpack-plugin - installed it, put it in webpack plugins and nothing.
Specifically, I'm interested in all IE browsers and all Safari, in order to give them crutches in styles.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Klein Maximus, 2018-10-04
@denisbookreev

It seems to me that it is better to use the capabilities of Vue itself to the maximum than to screw libraries that are not needed to it.
I would suggest using Vue-cli-3, which automatically determines the required polyfills based on the code used in the application.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question