T
T
tyoma_koder2021-10-30 18:50:03
Vue.js
tyoma_koder, 2021-10-30 18:50:03

How to insert a common style file into vue as a separate file?

I include css in index.html and for some reason vue replaces the content with html picril I put the
617d6949390b7637815731.png
css file in both assets and src - nothing changes.
I run via npm

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2021-10-30
@tyoma_koder

In index.js:
import './assets/style.css';

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question