Skip to content

Commit ca56785

Browse files
committed
chore(project-structure): reordering data
1 parent 67bb957 commit ca56785

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

data/structure.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
const projectStructure = [
2+
{
3+
name: 'sveltin.json',
4+
info: 'The main config file for your Sveltin based project. It is uded to share info across multiple parts of the project as well as is read by the CLI when running commands.'
5+
},
26
{
37
name: 'config',
48
info: 'Accessible across the codebase as <span class="font-semibold">$config</span>. The following files are autogenerated: <ul><li><span class="font-semibold">defaults.js.ts</span>: info on the actual Sveltin version, SvelteKit version and build time;</li><li><span class="font-semibold">externals.js.ts</span>: info on external services used by the app. E.g. Google Fonts, Analytics, etc;</li><li><span class="font-semibold">menu.js.ts</span>: all the entries from the available routes.<br/>Used by <span class="italic">sveltinio/seo</span> components to generate JsonLd objects and usable for a navigation component;</li><li><span class="font-semibold">website.js.ts</span>: configurations for the app. E.g. name, description, logo, sitemap config, etc.</li></ul>'
@@ -22,10 +26,6 @@ const projectStructure = [
2226
{
2327
name: 'static',
2428
info: 'Contains static files and compiled assets with stable URLs.<br/>When Sveltin builds your site, all assets are copied over as-is.'
25-
},
26-
{
27-
name: 'sveltin.json',
28-
info: 'The main config file for your Sveltin based project. It is uded to share info across multiple parts of the project as well as is read by the CLI when running commands.'
2929
}
3030
];
3131

0 commit comments

Comments
 (0)