realpython / realpython/materials

Build a Blog Using Django, GraphQL, and Vue - Home page not rendering

Đang mở
#542 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
Jupyter Notebook
Star
5.2k
Fork
5.3k
Merge trung bình
4 ngày 10 giờ
Pull request đã merge (30 ngày)
10

Mô tả

ℹ️ Please note that the best way to get support for Real Python courses & articles is to join one of our weekly Office Hours calls or in the RP Community Slack.

You can report issues and problems here, but we typically won't be able to provide 1:1 support outside the channels listed above.

Describe the bug
import PostView from "../views/PostView.vue" in frontend/router/index.js throws error and the view is not rendered

To Reproduce
Steps to reproduce the behavior:
1.Open the entire source code
2.Run both the frontend and backend dev servers
2. Go to '...'
2. Visit the Home page view
3. Observer the view is not rendered

Expected behavior
A fully functional view with all posts rendered

Screenshots
terminal_1
dom_2

Desktop (please complete the following information):

  • OS: Windows 10 Pro for Workstations
  • Browser: Chrome
  • Version:125.0.66.....

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Chạy cả server phát triển frontend và backend, sau đó mở trang Home tại localhost:5173 và kiểm tra lỗi từ frontend/router/index.js, đặc biệt là phần import PostView.vue. So sánh hành vi của router với luồng render post dự kiến. Hoàn thành khi trang Home render thành công với tất cả post đều hiển thị.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
django, graphql, javascript, python
Lĩnh vực
frontend, full-stack, web-dev
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.