Discussion on Dandelion Pro - React Admin Dashboard Template

Discussion on Dandelion Pro - React Admin Dashboard Template

Cart 1,489 sales
Well Documented

ilhammeidi supports this item

Supported

This author's response time can be up to 1 business day.

443 comments found.

Hi bro , nice job,

i have tried to start the project , but it show a blank page , and i have many error in the console .

here is one amoung them :

scrollStore.js:214 Uncaught TypeError: Cannot read properties of undefined (reading ‘feature’)

TypeError: Cannot read properties of undefined (reading ‘showcase’)

scrollStore.js:214 Uncaught TypeError: Cannot read properties of undefined (reading ‘testimonials’)

as if the components exported are not seen. despite the fact they are exported in index.js located in app/components

at Scroller.getOffset (scrollStore.js:214:17)
at children (ScrollReceiver.js:65:32)
at renderWithHooks (react-dom.development.js:16305:18)
at mountIndeterminateComponent (react-dom.development.js:20069:13)
at beginWork (react-dom.development.js:21582:16)
at HTMLUnknownElement.callCallback (react-dom.development.js:4164:14)
at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:16)
at invokeGuardedCallback (react-dom.development.js:4277:31)
at beginWork$1 (react-dom.development.js:27446:7)
at performUnitOfWork (react-dom.development.js:26555:12)

Hi,

Thanks for the appreciation.

If you have menu Features and Showcase, please make sure you have div with id “feature” and “showcase” as well.

Regards.

Hello, where is all the data stored and is it fully functional? DB etc.

Thanks

Hi, Dandelion uses doesn’t has backend function like Enlite Prime. It uses dummy data that are stored as local variable.

Regards.

Hi

Apologies for basic question but I can not find the option to disable the Theme/Palette slider on the right hand side of the template.

Hi,

You can find the theme settings in app/containers/App/ThemeWrapper.js

And you can remove the components <TemplateSettings> there.

Regards.

Hi

I just bought the template, very impressed.

I deployed to vercel and have hit an issue where many of the images (the jpgs) are not displaying on the hosted version, they display perfectly locally.

There are no build errors on vercel. I tried copying the image folder into /build/ before deploying and that did not work. The paths look fine in the code.

But in Vercel the images do not show as being deployed.

I suspect I am not the 1st person to have this issue so I am hoping there is an easy solution.

Kind Regards

Adam Daniel

Hi Adam Daniel,

Thanks for purchasing and the appreciation.

For static site deployment It should be just copy images/ and favicons/ to the build/ folder. So may I know your vercel deployed link? so I can investigate.

Regards.

the site is at newcryptos.io

I am deploying to vercel via github, and the path on git is

build/images/[subfolder]/[image]

I just tested the same build on Netlify and it worked perfectly.

This is obviously a Vercel issue. I am going to use Netlify instead to make life easier.

Thank you again for the prompt response, it is appreciated.

Hi!!! is the best template that i never seen, i made a micro change in Component>Sidebar>MainMenu teh componente ListItem is deprecate, change <ListItem button to <ListItemButton and change import ListItem from ’@mui/material/ListItem’; to import ListItemButton from ’@mui/material/ListItemButton’; Regards..

Hi rhonalejandro,

Thanks for the appreciation and the info.

Ok noted, I will check the code and add it to the todo list.

Regards.

Hi, I requested for refund, Till now I did not received. Themeforest team not responding. Please do something needfull.

The current store implementation uses createStore imported from @redux which is deprecated now. Need your assistance to use configureStore imported from @reduxjs/toolkit

Hi, here is the guide link to migrate redux toolkit https://redux.js.org/usage/migrating-to-modern-redux

I just start migrate to redux toolkit. Many changes needed and need more research. The estimation finish between August or Sept.

Hi can you help me how to add theme settings on my starter-project?

Please check this image

https://ibb.co/cDrjGjD

Hi,

For Template theme settings you can copy in dandelion-pro/app/components/TemplateSettings/

Then use it in app/containers/App/ThemeWrapper.js same like in dandelion-pro version

<TemplateSettings
            palette={paletteState}
            selectedValue={color}
            mode={mode}
            gradient={gradient}
            decoration={decoration}
            bgPosition={bgPosition}
            layout={layout}
            direction={direction}
            changeTheme={handleChangeTheme}
            changeRandomTheme={handleChangeRandomTheme}
            changeMode={handleChangeMode}
            changeGradient={handleChangeGradient}
            changeDecoration={handleChangeDecoration}
            changeBgPosition={handleChangeBgPosition}
            changeLayout={handleChangeLayout}
            changeDirection={handleChangeDirection}
          />

And mostly props are obtained from reducer states and actions

Regards.

Hi, can you help me how to add more color options in theme setting like the pro template.

please check the image below.

https://ibb.co/ZT0H2d1

Hi,

For color palette you can add in

Dark mode color: app/api/palette/darkPalette.js

Light mode color: app/api/palette/lightPalette.js

And register the new color in app/redux/modules/ui.js in

const initialState = {
  palette: [
    { name: 'New Color', value: 'newColorTheme' },
  ]
}

And please make sure the ‘value’ in ui initialState same as object in the app/api/palette/[dark/light]Palette.js

regards.

Hi, can you help me I try to deploy a starter-project in my hosting but i got some warnings how to resolve this?

please check my picture below

https://ibb.co/7bTvWH7
https://ibb.co/CnKQD2p

and also the spinner is not show properly.

Thank you so much

Hi BKB1997,

For loading, in public/ folder please try to copy the images/ and favicons to your build/ folder.

And for images warning in /app/api/images/photos.js change all ‘http’ to ‘https’

Regards.

I got 3 warnings can you help me to resolve this ? please check the image below https://ibb.co/26yrR38

Hi,

Please check in app/containers/pageListAsync.js and please make sure you have create variable Error, Maintenance, ComingSoon, etc and export them as well.

export const Error = loadable(() =>
  import ('./Pages/Error'), {
    fallback: <Loading />,
  });
export const Maintenance = loadable(() =>
  import ('./Pages/Maintenance'), {
    fallback: <Loading />,
  });
export const ComingSoon = loadable(() =>
  import ('./Pages/ComingSoon'), {
    fallback: <Loading />,
  });

Regards.

Hi can you help me how to remove all warnings for every npm i warning shows..

please check the image below. https://i.imgur.com/En3n7KK.png

Hi, in file .npmrc please add or uncomment loglevel=silent

Regards.

How to submit refund request in themeforest.

Just ask to customer support

Hi, how to fix this ? did not change automatically when I have a simple changes.

please check my picture below. https://ibb.co/k341S65

Hi, Thanks for the reported issue.

To fix it in /app/app.js line:69 Remove root.unmount();

I will update it soon.

Regards.

I seen this very old version, I didn’t like this old versions, I want refund for this or suggest me any other templated which supports latest version react and redux-toolkit and react-router-dom

Ok go ahead, please request a refund

I’m waiting your refund request form

Hi, I seen old redux usage, I am trying to add react toolkit it is throwing error. Please help us to use this application in redux toolkit or please provide latest version redux toolkit and react router vs6

Hi, here is the redux toolkit docs migration https://redux.js.org/usage/migrating-to-modern-redux

And react router 6 https://reactrouter.com/en/main/upgrading/v5#refactor-custom-routes

I will also figure out about redux toolkit and react router v6 implementation. if it doesn’t take many changes and no major issues, i will update on April

Regards.

Typescript version please!!

Sorry I don’t have typescript version and I’m not expert with typescript

Hi,

Purchage ID: 45af0277-932b-41fb-be77-5510830ff5d9

Support Needed: Extending Menu depth and Usage in “starter-project”

Description: We are having issue designing the menu.js file from 3rd level onwards.

It works fine for default menu depth with levels “Main->Level->Sub Menu”

We have a requirement to populated additional 2 nested levels and we are not able to define.

When we define child attributes for 3rd level, they are showin-up as 2nd level and menu expand collapse failing.

1) Is there any sample of menu.js that can be used to achieve this requirement?

2) How to enable/show these menu options for other Layout Modes (big-sidebar, top-navigation, mega-menu)?

Thanks SD

Hi,

1. For the list sidebar only support for 2 levels nested menu. I will try to make it more child-compatible and let you know when any updates. For deeper tree menu material ui has a new component https://mui.com/x/react-tree-view/#basic-tree-view, but it seems not as advanced as <List /> components

2. For the other menu options you can find in app/redux/modules/ui.js You can check in the docs https://ilhammeidi.github.io/dandelion-docs/#layout

const initialState = {
  /* Settings for Themes and layout */
  // rest-code
  layout: 'left-sidebar', // big-sidebar, left-sidebar, top-navigation, mega-menu
}

Regards.

Hi ilhammeidi Any updates, to big-sidebar configuration allowing more than 2 levels, in the upcoming version of the template?

Thanks SD

Hi 1bizautomation,

I’m not sure for big-sidebar can handle more than 2 levels, but for the regular sidebar is possible for many levels.

I tried with this in app/redux/modules/ui.js

case OPEN_SUBMENU: {
      // Set initial open parent menu
      const activeParent = setNavCollapse(
        getMenus(MenuContent),
        action.initialLocation
      );
      // Once page loaded will expand the parent menu
      if (action.initialLocation) {
        draft.subMenuOpen = [activeParent];
        const path = action.initialLocation.split('/');
        if (path.length <= 3 && action.initialLocation !== '/app') {
          draft.sidebarOpen = false;
        }
        return;
      }
      // Expand / Collapse parent menu
      const menuList = state.subMenuOpen;
      if (menuList.indexOf(action.key) > -1) {
        draft.subMenuOpen = [];
        const index = draft.subMenuOpen.findIndex((obj) => obj === action.key);
        draft.subMenuOpen.splice(index, 1);
        console.log(action.key);
        console.log(draft.subMenuOpen);
      } else {
        draft.subMenuOpen = [action.key, action.keyParent];
        draft.subMenuOpen.push(action.key);
        // draft.subMenuOpen = [action.key, action.keyParent];
      }
      break;
    }

It’s works but the ui style will mess, so I will keep this feature as it is currently. I suggest to separate menu if more than 3 levels.

Regards.

Hi, I need to add this to the start npm command to run HTTPS:

“start”: “export HTTPS=true&&SSL_CRT_FILE=cert.pem&&SSL_KEY_FILE=key.pem react-scripts start”,

But it seems not to be working, also in dandelion there is no “react-scripts start”, so how can I add this?

Hi,

For ssl please try in “start” script
"start": "cross-env NODE_ENV=development HTTPS=true&&SSL_CRT_FILE=cert.pem&&SSL_KEY_FILE=key.pem node server",

This template uses express js for server, if the method above doesn’t works, please try by add the ssl config with express server or webpacke

Express:

- File: server/index.js or middlewares/addDevMiddlewares.js

- Ref: https://adamtheautomator.com/https-nodejs/

Webpack

- File: internals/webpack/webpack.dev.babel.js

- Ref https://gist.github.com/Grawl/bd0096b49276934c807b4a74088b081c

Regards.

Hi, I bought this Template of Admin dashboard for my Next.js Project which is also using your template of Lexiron. I copied the whole App, internals, Assets folders into my project. Then I copied the content of App.js file into the index.js of the Admin folder in my pages directory of the Next.js. For the last 20 hours, I am working on localhost/admin but it is having some issue of global css. I renamed each code of import line which contained dan-.... After changing all the files, I still get this error: ./node_modules/react-calendar/dist/Calendar.css Global CSS cannot be imported from within node_modules. Read more: https://nextjs.org/docs/messages/css-npm Location: node_modules\react-calendar\dist\entry.js

I don’t know what to do? I have used many methods and a lot of time but with not success yet…

Please try to remove all about the react-calendar and unsupported packages. Sometimes not all plugins works with next.js together.

I tried this method too but then it showed same thing with react-clock and so on..

When I created Luxiren, I copied one by one the components and the plugins, not all at once. It should make debuging and error tracing easier. Or you can keep the Dandelion default structure without next.js, because the admin dashboard is more suitable with SPA structure rather than SSR.

how to convert this project to PWA

Here’s the reference for PWA https://blog.logrocket.com/building-pwa-react/

And here’s for Service Worker config in Dandelion https://ilhammeidi.github.io/dandelion-docs/#offline

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey