Closed Blackbaud-JosephZelada closed 3 years ago
I asked @Blackbaud-JosephZelada to create this issue with the docs that he wrote up after he asked on Slack about getting this content into the SKY UX docs. I'm not sure if I'll be at standup when we triage the issue, so JFYI.
Also, I went ahead and created a draft PR (https://github.com/blackbaud/skyux2-docs/pull/1039) with a new topic for this content. I made some minor edits, but I need help from a dev on the team to help QA the content since I don't have a Mac. I set the instructions up in a child topic to our instructions on serving a SPA (https://developer.blackbaud.com/skyux/learn/get-started/basics/serve-project) in the Learn section of the SKY UX docs.
Hey @Blackbaud-JosephZelada , is the mobify step necessary? Just curious on what that does for you as opposed to navigating directly to the SPA URL.
The mobify step is only necessary if you want the developer console. If you're just looking to serve it, you can navigate directly to the served URL
Hmm... are you sure? I skipped mobify completely and was able to serve the SPA, copy+paste the link into my iOS simulator then turn on the developer console for the device. I could set breakpoints and watch them hit when I interacted with the simulated device. Maybe I'm missing something, but I don't see why mobify is necessary?
@Blackbaud-JosephZelada, just following up to see if you saw Alex's last question. No rush, but let us know what you think of tweaking the docs you provided to edit out the mobify step and incorporate Alex's alternate step. Thanks!
Follow up note: We removed the mobify step, and we'll close the issue after we merge https://github.com/blackbaud/skyux2-docs/pull/1039.
Addressed in https://github.com/blackbaud/skyux2-docs/pull/1039.
Steps to locally serve a SkyUX SPA to an iOS simulator and debug
skyux serve --browser safari
to serve your app to Safari, then use the link provided on the command line to view your locally served apphttp://preview.mobify.com
in the iOS simulator c. On this page, paste the URL for your locally served app into the Site URL box and click "Preview" d. On your actual machine, click Safari and navigate to the toolbar for Safari -> Develop e. In this dropdown you should see an entry that says Simulator. Mouse over that and click the URL that should match your locally served appFrom here you should be able to debug locally served changes in real time