Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

How can I apply the asideTheme in demo 8 vue?


Hi,

I see the aside menu has 2 themes, dark and light, but it's not applied:

/**
* Set the aside theme
* @returns {string}
*/
export const asideTheme = computed(() => {
return useConfigStore().getLayoutConfig("aside.theme");
});

How and where can I use this?


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Hi,

No problem. But I'm not talking about the theme mode. I'm talking about aside.theme in src/layouts/default-layout/config/DefaultLayoutConfig.ts

I'm using demo-8 in vue and want to make the aside menu light.



Hi,

This function is leftover from demo1, currently, demo8 doesn't support aside theme mode.

Regards,
Lauris Stepanovs,
Keenthemes Support Team



Hi,

I want to apologize for the late reply.

You can either toggle theme mode from the mode select dropdown in the right corner to the header or change the theme mode the theme configuration file src/layouts/default-layout/config/DefaultLayoutConfig.ts the property general.mode.

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(