Closed LaKing closed 1 year ago
Vuetify Version: 3.0.0 Vue Version: 3.2.38 Browsers: Chrome 107.0.0.0 OS: Linux x86_64
As per documentation, yarn install vuetify and cd to the project directory. yarn build and copy the dist folder's content to a webserver like apache.
yarn install vuetify
yarn build
The vuetify logo to be visible, as in the hot reload.
The logo is not visible, not in the dist folder, and the browser logs an error.. GET http://localhost/src/assets/logo.svg [HTTP/1.1 404 Not Found 0ms]
https://github.com/LaKing/debug-vuetify
:src="logo" in the v-img tag, and import logo from "@/assets/logo.svg"; works ok.
:src="logo"
import logo from "@/assets/logo.svg";
However, it is very frustrating for newcomers, to hit a bug right at the blank test drive.
https://github.com/vuetifyjs/create-vuetify/pull/7
Environment
Vuetify Version: 3.0.0 Vue Version: 3.2.38 Browsers: Chrome 107.0.0.0 OS: Linux x86_64
Steps to reproduce
As per documentation,
yarn install vuetify
and cd to the project directory.yarn build
and copy the dist folder's content to a webserver like apache.Expected Behavior
The vuetify logo to be visible, as in the hot reload.
Actual Behavior
The logo is not visible, not in the dist folder, and the browser logs an error.. GET http://localhost/src/assets/logo.svg [HTTP/1.1 404 Not Found 0ms]
Reproduction Link
https://github.com/LaKing/debug-vuetify
Other comments
:src="logo"
in the v-img tag, andimport logo from "@/assets/logo.svg";
works ok.However, it is very frustrating for newcomers, to hit a bug right at the blank test drive.