nuxt-modules / nuxt-modules/ionic

Build commands including sync is deleting the index.html in the ./dist & ./output/public folders

Open
#554 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs reproduction
Dominant language
TypeScript
Stars
457
Forks
53
Avg merge
7h 32m
Merged PRs (30d)
21

Description

📚 What are you trying to do?

Whenever I try to run the build for ios or android, it deletes the index.html that is needed to properly run and I have to use the generate command again and then rebuild. Is there a way to have the build and sync command not delete the html files?

🔍 What have you tried?

This is the process I go through:

  • Make change to vue file
  • run sync
  • run simulator -> deletes index.html files in ./dist & ./output/public -> gets error for missing index.html file -> sim renders nothing
  • run generate
  • run simulator -> works

is there a better way to do this?

ℹ️ Additional context

I'm using the ionic plugin and I also have the tailwind module installed

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported iOS or Android build and sync flow with the Ionic plugin, then inspect how ./dist and ./output/public are generated. Done means running sync and build preserves the required index.html files so the simulator renders without running generate first.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, tailwindcss, typescript
Domain
build-system, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.