Rework the project editor to include file edition and display the file sorter in the sidebar.

This commit is contained in:
2024-12-02 15:31:16 +01:00
parent 602b0af212
commit fd951c294f
12 changed files with 270 additions and 263 deletions

View File

@@ -1,6 +1,5 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
import vuePlugin from 'rollup-plugin-vue'
import postcssPlugin from 'rollup-plugin-postcss'
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
@@ -118,21 +117,9 @@ export default defineNuxtConfig({
path: '~/components',
pathPrefix: false,
},
{
path: '~/server/components',
pathPrefix: true,
global: true,
},
],
nitro: {
alias: {
'public': '//public',
},
publicAssets: [{
baseURL: 'public',
dir: 'public',
}],
preset: 'bun',
preset: 'node',
experimental: {
tasks: true,
},
@@ -166,7 +153,7 @@ export default defineNuxtConfig({
xssValidator: false,
},
sitemap: {
exclude: ['/admin/**', '/explore/edit/**', '/user/mailvalidated'],
exclude: ['/admin/**', '/explore/edit', '/user/mailvalidated'],
sources: ['/api/__sitemap__/urls']
},
experimental: {