ui icon indicating copy to clipboard operation
ui copied to clipboard

suggestion: Sidebar examples with submenus

Open aaronhudon-pq opened this issue 2 years ago • 7 comments

The sidebar templates are fantastic.

Suggestion: add some examples expanding/collapsing submenus:

[Dashboard] [Payments] [Analytics]


[Dashboard] [Payments] (clicked/expanded) [Submenu1] [Submenu2] [Submenu3]

aaronhudon-pq avatar Nov 26 '23 02:11 aaronhudon-pq

@a7v8x , @aaronhudon-pq i like to add these as it suggested earlier.

AgentKaash avatar Mar 05 '24 06:03 AgentKaash

[Dashboard] SystemAdministrationDashboard extends TPage { /** * Class constructor * Creates the page */ function __construct() { parent::__construct();

    try
    {
        

Emerson727 avatar Mar 10 '24 02:03 Emerson727

I am trying to contribute , but unable to run in local npm run dev is not working , can anyone help please

smk1993 avatar Mar 10 '24 07:03 smk1993

I am trying to contribute , but unable to run in local npm run dev is not working , can anyone help please

You're not able to run npm run dev, because there is no such command available in package.json file.

If you'd take a look at the contents of package.json file, you can find, under the scripts attribute, there is no such command as dev.

{
  ...
  "scripts": {
    "deploy": "npm run compress:imgs && npm run build && rm -rf node_modules react-examples/node_modules",
    "build": "npm run build:react-examples && node index.mjs",
    "build:react-examples": "cd react-examples && npm i && npm run build",
    "compress:imgs": "npx compress-images-with-sharp 80 ./ original"
  },
  ...
}

The next.js code is available inside react-examples directory. Here you can run npm i and then npm run dev. However, when you'll visit http://localhost:3000, you'll see page not found error. This is because, in this particular repository, the author is building next.js code and then using the static html files in order to display the components.

So, in order to run the code.

  1. Install dependencies
npm i
  1. Build the code
npm run build
  1. Open index.html in a browser. Alternatively, you can use Live Server extension in vs-code in order to run your code.

pr4j3sh avatar Mar 11 '24 13:03 pr4j3sh

this is how it looks!!

Screenshot 2024-04-24 204756

Armanxrza avatar Apr 24 '24 15:04 Armanxrza

this is how it looks!! Please help

Screenshot 2024-04-24 204756

Yes, that's correct. What do you need help with?

pr4j3sh avatar Apr 24 '24 15:04 pr4j3sh

ohh fine, It Worked!! The Link was Not Opening; Now its Working

Armanxrza avatar Apr 24 '24 15:04 Armanxrza