Project folders #635
mitorun-studio
started this conversation in
General
Replies: 1 comment
-
|
It's not much different in 2.0: @shared/data for globally available data And include directive works accross all directories: the recommendation, however, is @shared/lib. The shared dirs can be structured however you wish. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm exploring Nue 2.0, and it's been a great, great effort 👍. This update inspired me to choose Nue as my primary (and only?) tool for creating static websites.
One of the challenges I encountered was the unclear way to organize folders and files in a project. The page files are organized simply, but the rest leave some questions.
I was happy with the way it was in Nue 1.0 — a
/@globalfolder with site-wide files and a/@libraryfolder with files that needed to beinclude. I could put any files (base.css, button.css, layout.html, team.yaml, uikit.js) in these folders. If the project is large, you can create subfolders, such as/@library/css.And other file folders should be copied without processing:
/imgfor raster images,/svgfor vector graphics,/flsfor files (e.g., inter.woff2, video.webp, sound.aac, file.pdf).I prefer to have all files of the same type stored in one folder.
Beta Was this translation helpful? Give feedback.
All reactions