Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.
This repository was archived by the owner on Sep 7, 2021. It is now read-only.

Can't get it to work with 'react create app' #34

Open
@Tsury

Description

@Tsury

EDIT: I mean 'create-react-app'...

I'm following the usage instructions but I'm getting errors in the main js file of ReactJS-AdminLTE saying that react-dom and velocity are missing.

These are the errors I am getting:

Failed to compile.

Error in ./~/adminlte-reactjs/reactjsAdminlte.js
Module not found: 'reactDom' in C:\myApp\node_modules\adminlte-reactjs

 @ ./~/adminlte-reactjs/reactjsAdminlte.js 1:120-139

Error in ./~/adminlte-reactjs/reactjsAdminlte.js
Module not found: 'velocity' in C:\myApp\node_modules\adminlte-reactjs

 @ ./~/adminlte-reactjs/reactjsAdminlte.js 1:140-159

Could that be something with the webpack config not being used? I see that there's aliases there for react-dom and velocity and paths to get the libraries from.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions