Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion: Sidebar examples with submenus #13

Open
aaronhudon-pq opened this issue Nov 26, 2023 · 7 comments
Open

suggestion: Sidebar examples with submenus #13

aaronhudon-pq opened this issue Nov 26, 2023 · 7 comments

Comments

@aaronhudon-pq
Copy link

The sidebar templates are fantastic.

Suggestion: add some examples expanding/collapsing submenus:

[Dashboard]
[Payments]
[Analytics]


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

@AgentKaash
Copy link

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

@Emerson727
Copy link

Emerson727 commented Mar 10, 2024

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

    try
    {

@smk1993
Copy link

smk1993 commented Mar 10, 2024

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

@prajeshElEvEn
Copy link

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.

@Armanxrza
Copy link

Armanxrza commented Apr 24, 2024

this is how it looks!!

Screenshot 2024-04-24 204756

@prajeshElEvEn
Copy link

prajeshElEvEn commented Apr 24, 2024

this is how it looks!! Please help

Screenshot 2024-04-24 204756

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

@Armanxrza
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants