Skip to content

Commit

Permalink
consistent with block-development-examples data-basics-59c8f8 (#65995)
Browse files Browse the repository at this point in the history
  • Loading branch information
leemyongpakva authored Oct 9, 2024
1 parent b3aaefe commit 080bce9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/how-to-guides/data-basics/1-data-basics-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ We'll do all the development inside of a WordPress plugin. Let's start by creati

- my-first-gutenberg-app.php – to create a new admin page
- src/index.js – for our JavaScript application
- style.css – for the minimal stylesheet
- src/style.css – for the minimal stylesheet
- package.json – for the build process

Go ahead and create these files using the following snippets:
Expand All @@ -36,7 +36,7 @@ window.addEventListener(
);
```

**style.css:**
**src/style.css:**

```css
.toplevel_page_my-first-gutenberg-app #wpcontent {
Expand Down Expand Up @@ -149,7 +149,7 @@ function load_custom_wp_admin_scripts( $hook ) {
// Load our style.css.
wp_register_style(
'my-first-gutenberg-app',
plugins_url( 'style.css', __FILE__ ),
plugins_url( 'build/style-index.css', __FILE__ ),
array(),
$asset_file['version']
);
Expand Down

0 comments on commit 080bce9

Please sign in to comment.