diff --git a/bun.lockb b/bun.lockb index ae45d1f..0e29926 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/demo/public/favicon.ico b/demo/public/favicon.ico new file mode 100644 index 0000000..c48857c Binary files /dev/null and b/demo/public/favicon.ico differ diff --git a/package.json b/package.json index 6070838..cdec864 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "vue": "3.4.21", "vue-loader": "17.4.2", "vue-router": "4.4.0", - "vulxi": "0.0.10", + "vulxi": "0.0.11", "yargs": "17.7.1", "yarpm": "1.2.0" } diff --git a/src/config/aliases.js b/src/config/aliases.js index 9d5f0fe..2ac6d6e 100644 --- a/src/config/aliases.js +++ b/src/config/aliases.js @@ -11,8 +11,9 @@ const VulmixAliases = () => { '@@': `${ABSOLUTE_PACKAGE_PATH}/src`, '@appFile': fs.existsSync(`${ABSOLUTE_ROOT_PATH}/app.vue`) ? `${ABSOLUTE_ROOT_PATH}/app.vue` - : fs.existsSync(`${ABSOLUTE_ROOT_PATH}/pages/index.vue`) - ? `${ABSOLUTE_ROOT_PATH}/pages/index.vue` + : fs.existsSync(`${ABSOLUTE_ROOT_PATH}/pages/index.vue`) && + !fs.existsSync(`${ABSOLUTE_ROOT_PATH}/app.vue`) + ? `${ABSOLUTE_PACKAGE_PATH}/src/vue/pages/app.vue` : `${ABSOLUTE_PACKAGE_PATH}/src/vue/pages/404.vue`, '@assets': fs.existsSync(`${ABSOLUTE_ROOT_PATH}/assets`) ? `${ABSOLUTE_ROOT_PATH}/assets` diff --git a/src/index.ejs b/src/index.ejs index 91bd132..7ea1910 100644 --- a/src/index.ejs +++ b/src/index.ejs @@ -23,8 +23,8 @@
- - - + + +