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

fix: modified --root-path option behavior when CLI init #48

Merged
merged 8 commits into from
Dec 6, 2024

Conversation

maintain0404
Copy link
Contributor

Description

before this PR, execute litestar assets init --root-path web --resource-path web/src --public-path web/public --bundle-path web/dist

app.py
templates/
web/
├── dist/
├── public/
└── src/
node_modules/
package.json
package-lock.json
vite.config.js

after this PR, execute llitestar assets init --root-path web --resource-path src --public-path public --bundle-path dist

app.py
templates/
web/
├── node_modules/
├── dist/
├── public/
├── resources/
├── package.json
├── package-lock.json
└── vite.config.js

@cofin cofin changed the title Fix --root-path option behavior when CLI init fix: modified --root-path option behavior when CLI init Dec 6, 2024
@cofin cofin linked an issue Dec 6, 2024 that may be closed by this pull request
@cofin cofin merged commit 4d23b54 into litestar-org:main Dec 6, 2024
13 checks passed
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.

Adjusting file locations for Vite-related assets
2 participants