\n \n
\n \n
\n \n Setup skeleton\n
\n \n\n \n
\n To get started with theme skeleton you should change router path to\n new path for clean router file, which is already added inside\n src/router
folder. Change router path inside file main.js\n to the following path:\n
\n \n\n
\n {{\n `import router from \"@/router/clean.ts\";`\n }}\n
\n\n \n
\n Second thing what you need to change is our menus, in {{ appName }} we\n have two types of menu in header and aside bar.\n
\n \n\n
\n \n
\n
\n \n \n
\n Main menu is generated from the file\n src/core/config/MainMenuConfig.ts
. Header menu is\n generated inside\n src/layout/header/Menu.vue
\n and the aside menu is generated inside\n src/layout/aside/Menu.vue
.\n
\n \n
\n \n
\n\n
\n To get started with clean menu, you can update menu config path in\n both Menu.vue
files from\n src/core/config/MainMenuConfig.ts
\n to the following code:\n
\n\n
\n {{\n `import MainMenuConfig from \"@/core/config/CleanMainMenuConfig\";`\n }}\n
\n\n \n
\n Now you can delete unneeded page view files from folder\n src/views
\n
\n \n
\n \n\n \n
\n \n
\n \n Setup API\n
\n \n\n \n
\n In theme we are using axios-adapter to make http requests. In the real\n app requests will be send to real server api so you can remove\n MockService initialization from the file main.ts
.\n
\n \n\n
\n {{\n `MockAdapter.init(app);`\n }}\n
\n\n \n
\n And change baseURL property of axios to your api url in file\n src/core/services/ApiService.ts
.\n
\n \n\n
\n {{\n `ApiService.vueInstance.axios.defaults.baseURL = \"http://your-url\";`\n }}\n
\n
\n \n