A
A
Alexander Koregin2019-07-09 00:08:52
Vue.js
Alexander Koregin, 2019-07-09 00:08:52

How to fix an error when building Vue.JS?

Good night, I made a page, I wanted to try vue-cli, I disassembled the page into components and after assembly I saw that my site is not displayed because all links to js and css are relative ('../'). If you remove these links here config/index.js - assetsPublicPath: '.' , then my background on the site that has the image will disappear. How to fix ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Koregin, 2019-07-09
@dragonika8

Fixed a bug, removed relative links in the wrong place

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question