How to connect LCD 12864 ST7920 to NodeMCU ESP8266 module?

I am a beginner and still lack knowledge of the circuit. I refer to LCD 128x64 ST7920 using u8glib - Displays - Arduino Forum. You can connect the arduino uno r3 to Node MCUs together and use them normally. You can use pins10, pin11, and pin13, but the pins are not on the NodeMCU. Yes, my question is? Is it possible to use, how to connect?``

For those who are actually looking for information on how to connect LCD 12864 ST7920 to NodeMCU ESP8266 module.

ST7920 ESP8266
GND (pin 1) Ground (G)
RS SS - D8 - GPIO 15
R/W MOSI - D7 - GPIO 13
E SCK - D5 - GPIO 14
PSB Ground (to enable SPI MODE)
BLA (Backlight Anode) 3V (consumes 12 mA) or 5V (60 mA)
BLC (Backlight Cathode) Ground

I used U8g2 library (you can download this from library manager in Arduino IDE )

any of the lines below should work

U8G2_ST7920_128X64_1_HW_SPI u8g2(U8G2_R0,D8);

U8G2_ST7920_128X64_1_SW_SPI u8g2(U8G2_R0, /* clock=/ 14, / data=/ 13, / CS=*/ 15);

Any of the page buffer examples from the library (like the GraphicsTest) should work but sometimes you have to REMOVE lines like:

/* U8g2 Project: SSD1306 Test Board */
pinMode(10, OUTPUT);
pinMode(9, OUTPUT);
digitalWrite(10, 0);
digitalWrite(9, 0);

sample code:

#include <Arduino.h>
#include <U8g2lib.h>

#ifdef U8X8_HAVE_HW_SPI
#include <SPI.h>
#ifdef U8X8_HAVE_HW_I2C
#include <Wire.h>

U8G2_ST7920_128X64_1_HW_SPI u8g2(U8G2_R0,D8);

void setup(void) {

uint8_t m = 24;

void loop(void) {
  char m_str[3];
  strcpy(m_str, u8x8_u8toa(m, 2));		/* convert m to a string with two digits */
  do {
  } while ( u8g2.nextPage() );
  if ( m == 60 )
    m = 0;