Best Practice for folder layout #286
-
Hi @manzt! Is there a convention we can follow? A
B)
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Beta Was this translation helpful? Give feedback.
-
Thanks for opening the issue! Originally I saw anywidget's lack of opinion on this topic to be a strength, but I understand why it could be confusing for new comers. Personally I prefer the
EDIT (2023-0-18): The recommended approach now (if using a bundler) is to use one of our project templates, which puts things in
|
Beta Was this translation helpful? Give feedback.
-
Should we move the artifacts from |
Beta Was this translation helpful? Give feedback.
-
yes, that's a good idea! |
Beta Was this translation helpful? Give feedback.
-
Will make PR now. |
Beta Was this translation helpful? Give feedback.
Thanks for opening the issue! Originally I saw anywidget's lack of opinion on this topic to be a strength, but I understand why it could be confusing for new comers. Personally I prefer the
static/*
path as you've seemed to stumble upon yourself. FWIW, the bundling documentation suggests usingstatic
: https://anywidget.dev/en/bundling/I think beyond that, if I can find the time, working on thecreate-anywidget
package to bootstrap a project with more opinionated configuration could be useful.EDIT (2023-0-18): The recommended approach now (if using a bundler) is to use one of our project templates, which puts things in
static/*