Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consistent with block-development-examples data-basics-59c8f8 #65995

Merged
merged 1 commit into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading