Skip to content

Conversation

@brandyscarney
Copy link
Member

@brandyscarney brandyscarney commented Nov 12, 2025

Relates to #446

What is the current behavior?

A user reported in this comment that the JavaScript Quickstart does not work with npm run preview. I confirmed that this does not work following the existing guide.

Additionally, all of the guides do not list file paths starting from the root, nor do the code blocks have titles, making it somewhat trickier to find which files to update.

What is the new behavior?

  • Updates the JavaScript Quickstart to initialize Ionic in a way that works using npm run dev, npm run build && npm run preview and Capacitor
  • Updates all framework Quickstart guides to do the following:
    • Show the project structure tree starting from the root
    • Update all path references to start from the root
    • Add a title to all code blocks with the full file path

Previews

@vercel
Copy link

vercel bot commented Nov 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
ionic-docs Ready Ready Preview Comment Nov 13, 2025 4:45pm

## View the App Component

The root of your app is defined in `app.component.ts`:
The root of your app is defined in `src/app/app.component.ts`:
Copy link
Member Author

@brandyscarney brandyscarney Nov 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it would be more clear to put the full path but if we want to only show the full path in the title of the code block I'm fine with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants