Topic: Double Navigation with hidden SideNav & non-fixed Navbar

whoiam775 free asked 4 years ago


Expected behavior https://mdbootstrap.com/docs/react/navigation/compositions/ i am looking for this: Double Navigation with hidden SideNav & non-fixed Navbar Actual behavior Attempted import error: 'MDBSideNav' is not exported from 'mdbreact'. Resources (screenshots, code snippets etc.) my code is the same as the documentation


Piotr Glejzer staff commented 4 years ago

Can you clear your cache? npm cache clean --force or yarn cache clean


whoiam775 free commented 4 years ago

yes, i did, but still same error: Attempted import error: 'MDBSideNav' is not exported from 'mdbreact'.


whoiam775 free answered 4 years ago


    {
  "name": "app_blanche-eco",
  "version": "0.1.0",
  "private": true,
  "homepage": ".",
  "dependencies": {
    "@testing-library/jest-dom": "^4.2.4",
    "@testing-library/react": "^9.3.2",
    "@testing-library/user-event": "^7.1.2",
    "mdbootstrap": "^4.16.0",
    "mdbreact": "^4.25.6",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-router-dom": "^5.1.2",
    "react-scripts": "3.4.1"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}

Piotr Glejzer staff commented 4 years ago

you are using a free version from npm so there is no pro component included in. You have to use pro version, you can download from your profile in 'all orders' or download it from our GitLab.
https://mdbootstrap.com/docs/react/getting-started/quick-start/


whoiam775 free commented 4 years ago

Can you make new video for Pro user . Explain how it works to start a new project please ?


Piotr Glejzer staff commented 4 years ago

Sorry but for now I will not make a video for that. You have everything explain in link above.


whoiam775 free answered 4 years ago


yes, i did, but still same error: Attempted import error: 'MDBSideNav' is not exported from 'mdbreact'.


Piotr Glejzer staff commented 4 years ago

are you using free or pro version?


whoiam775 free commented 4 years ago

I think i am using pro version, i added the link CDN in index.html need i to add the zip file ( pro content ) ? and how please ?


Piotr Glejzer staff commented 4 years ago

can you show me your package.json file? Do you have a problem with other PRO components or just with sidenav?



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.16.0
  • Device: pc
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: Yes