nuxt-modules / nuxt-modules/ionic

symlink `dist/` folder to `.output/public/`

Open
#499 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

🆒 Your use case

When I use nuxt generate I would expect to get a dist folder symlinked to .output/public so that the behaviour of this module is the same as standard Nuxt.

🆕 The solution you'd like

Do a Nuxt generate, pnpm generate or ionic:build, where ionic build starts a generate (which it doesn't out of the box).

And get a .output/public folder with the correct generated static site, so we can also use that folder. Or that the dist folder is symlinked to the .output/public like it normally does.

It seems to me that there is no reason to do the static site generation different from default Nuxt. It could only introduce bugs or unexpected behaviour for developers / during deployment.

🔍 Alternatives you've considered

I am currently using the alternative to not use this module and instead use a Nuxt build with the Ionic framework and Capacitor libraries added by myself to the stack. I would love to use this module, but I think it is to WIP / unstable right now.

ℹ️ Additional info

No response

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

Start by running nuxt generate, pnpm generate, or ionic:build and inspect whether the generated site appears in .output/public and whether dist is linked there. Done means the Ionic Nuxt module produces the expected static output and matches standard Nuxt behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
build-system, mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.