Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to add logo to vue

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "how to add logo to vue". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to add logo to vue.

Vue add logo method: 1, in the root directory of the vue project, create a new img folder; 2, through the "" way to add logo.

This article operating environment: windows7 system, vue2.9.6 version, DELL G3 computer.

How do I add logo to vue?

Add web page logo to the vue project:

I. Preface

Vue project to add web pages, the operation is very simple, can achieve the effect: a picture + one line of code.

Second, the text

This project is based on ElementUI's element-starter to make a better demonstration.

1. Code

Add the following logo

The following code has been added

Note that under the root directory of the project, create a new folder, such as img,logo, and get the pictures from it, not in assets!

Lin Hongcun

two。 Effect.

Thank you for reading, the above is the content of "how to add logo to vue", after the study of this article, I believe you have a deeper understanding of how to add logo to vue, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report