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
feat: custom directories #2748
feat: custom directories #2748
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #2748 +/- ##
==========================================
+ Coverage 99.91% 99.91% +<.01%
==========================================
Files 23 23
Lines 1227 1233 +6
==========================================
+ Hits 1226 1232 +6
Misses 1 1
Continue to review full report at Codecov.
|
lib/common/options.js
Outdated
@@ -284,6 +284,9 @@ Options.defaults = { | |||
name: 'layout', | |||
mode: 'out-in' | |||
}, | |||
assetsDir: 'assets', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it is going to be be a best practice, i think we may move all of this options to a new dir
block:
dir: {
assets: ...
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you're right, I'm moving.
I think its a good idea to give developer flexibility to changed dir name or path such as |
Thank you for this PR @ricardogobbosouza |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Feature custom directories in
nuxt.config.js
.