Перейти к содержимому

Registering Scripts & Styles in WordPress (Sass, JS, Webpack) using wp-scripts

Seeker Labs

0:00 / 0:00

Registering Scripts & Styles in WordPress (Sass, JS, Webpack) using wp-scripts

1 374 просмотра · 6 л. назад
Seeker Labs
2,17 тыс. подписчиков
1 374 просмотра · 6 л. назад
https://truthseekers.io/how-to-regist... https://truthseekers.io/latest-tutori... In this tutorial we'll cover setting up and preparing your Gutenberg plugin. We'll get Webpack setup, Register your CSS styles and Javascript frontend and editor scripts, and we'll configure Webpack to handle SCSS files using multiple entry points. Once this tutorial is complete you'll have a fully prepared plugin to start creating a Gutenberg block plugin. When you setup stylesheets and scripts in WordPress you want to load the files from your build folder, and have webpack compile your source code into the build folder.