Open aaronhudon-pq opened 5 months ago
@a7v8x , @aaronhudon-pq i like to add these as it suggested earlier.
[Dashboard] SystemAdministrationDashboard extends TPage { /**
Creates the page */ function construct() { [parent::construct](https://adiantiframework.com.br/api?index=classes/Adianti-Control-TPage#method___construct)();
try
{
I am trying to contribute , but unable to run in local npm run dev
is not working , can anyone help please
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.
npm i
npm run build
index.html
in a browser.
Alternatively, you can use Live Server
extension in vs-code
in order to run your code.this is how it looks!!
this is how it looks!! Please help
Yes, that's correct. What do you need help with?
ohh fine, It Worked!! The Link was Not Opening; Now its Working
The sidebar templates are fantastic.
Suggestion: add some examples expanding/collapsing submenus:
[Dashboard] [Payments] [Analytics]
[Dashboard] [Payments] (clicked/expanded) [Submenu1] [Submenu2] [Submenu3]