npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@fegma59/uni.cloud

v1.2.0

Published

**Documentation for React Dashlite application**

Downloads

2

Readme

Documentation for React Dashlite application

React Quick Start:

  1. Make sure Node and npm package manager is installed, please check the version by the command node -v

  2. Install Dependencies

    a. npm install or yarn install

  3. Start the application / Run the dev-server:

    a. npm start or yarn start

    b. *Open your browser at localhost://3000*

Detailed Installation Process:

Installing Node:

  1. Download latest version of node.js from nodejs.org.

  2. Install and Setup Node.js using downloaded file in the development environment

  3. To check your node version, run **node -v **in a terminal/console window.

Installing Npm Package Manager:

  1. React CLI, and React apps depend on features and functionality provided by libraries that are available as npm packages. To download and install npm packages, you must have an **npm **package manager.

  2. This Quick Start uses the npm client command line interface, which is installed with Node.js by default. To check that you have the npm client installed, run **npm -v ** in a terminal/console window.

  3. For better understanding React we suggest you to once go through official documentation of React from ReactJS.org

Installing the React CLI:

  1. It is recommended to install the React CLI globally

  2. To Install just run the command npm install create-react-app

Running React-Dashlite:

  1. Download and extract Dashlite themes from themeforest.net

  2. Extract it and then go in to the extracted folder.

  3. Once in the folder, open the command prompt/git bash/Terminal application (Mac) and type in cd theme

  4. Import all dependency by installing npm command. Type in npm install

  5. After all the packages and dependencies have been installed successfully, run the application by typing in npm start

  6. Once you serve your application by default it will take their default port so you can open port using localhost://3000

Build Application

  1. Build you application for host on server just by typing npm run build in the terminal

  2. It will create a build file in the root directory. The application is ready to go into the server of your choice, simply the upload the zipped build file to the server. However, if the server is an apache server create a .htaccess file in the build folder of the application and paste the following code in it.

Options -MultiViews

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^ index.html [QSA,L]

Copy the contents of the build file into the apache server, make sure the .htaccess file is included in the server.

Create New Directory / Page:

  1. To add a new directory or display contents on the side-panel. Add details in the object in the file src/layout/menu/MenuData.js.

    • Single Page: Add a JavaScript object with the properties of icon, text and link

    • Directory: Add a JavaScript object with properties of icon, text, link and submenu array where add all the sub-directory properties as an object.

  2. Once you have added a new nav as a directory or a page. Create the required page components in the pages folder. Make sure to export it, to make it available to all other places of the project.

  3. Include it in the route file in the directory routes/index.js. Make sure to import the created component in Step 2, through react-lazy process. And place the component in a route inside the Switch component such as <Route exact path="/your_link" component={Your_Component}/>. Make sure the link provided here is the same as in step one.

  4. Restart the application and visit the created route.