Problems with Vue imitating Bibibili's homepage

Problems with Vue imitating Bibibili's homepage

Engineering Structure

The project is divided into two parts. bilibili-api is the API interface service, and the others are the front-end parts. The project structure is as follows.

insert image description here

Run screenshot

insert image description here
insert image description here
insert image description here

How it works

Before running, you need to have installed the Node and Vue runtime environments locally. To ensure the normal operation of the project, please run
bilibili-api to obtain interface data.

Run the backend interface:

cd bilibili-api
cnpm install
cnpm run dev

Run the frontend:

cnpm install
cnpm run dev

This is the end of this article about Vue imitating Bibibili's homepage. For more relevant Vue imitating Bibibili's homepage content, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Vue uses vuex to implement the method of switching different routes for home page navigation
  • The solution to the problem that the link shared by Vue WeChat is opened is the home page
  • vue router+vuex implements home page login verification logic
  • Solve the problem of white screen on the home page after vue build packaging
  • Detailed explanation of Vue project home page loading speed optimization

<<:  Install Apache2.4+PHP7.0+MySQL5.7.16 on macOS Sierra

>>:  8 commands to effectively manage processes in Linux

Recommend

How to enter directory/folder in Linux without using CD command

As we all know, without the cd command, we cannot...

React tsx generates random verification code

React tsx generates a random verification code fo...

Flex layout realizes the layout mode of upper and lower fixed and middle sliding

This article mainly introduces the layout method ...

Detailed explanation of Cgroup, the core principle of Docker

The powerful tool cgroup in the kernel can not on...

How to quickly set the file path alias in react

React is a JavaScript library for building user i...

Graphical introduction to the difference between := and = in MySQL

The difference between := and = = Only when setti...

Solution to mysql error code 1064

If the words in the sql statement conflict with t...

Vue realizes the card flip effect

This article example shares the specific code of ...

How to find the specified content of a large file in Linux

Think big and small, then redirect. Sometimes Lin...

Vue SPA first screen optimization solution

Table of contents Preface optimization SSR Import...

Common causes and solutions for slow MySQL SQL statements

1. Slow query due to lack of index or invalid ind...

Implementation example of uploading multiple attachments in Vue

Table of contents Preface Core code File shows pa...

Introduction to Common XHTML Tags

<br />For some time, I found that many peopl...

Detailed explanation of meta tags and usage in html

I won’t waste any more time talking nonsense, let...