chartjs / chartjs/Chart.js

How to run normally, without 'npm run dev'?

Open
#12,051 1 comment 0 reactions 0 assignees View on GitHub
type: documentation
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

### Documentation Is:

- [ ] Missing or needed?
- [x] Confusing
- [ ] Not sure?

### Please Explain in Detail...

In the [Getting Started guide here](https://www.chartjs.org/docs/latest/getting-started/usage.html), it says:
"Time to run the example with npm run dev, yarn dev, or pnpm dev and navigate to [localhost:1234 ](http://localhost:1234/)in your web browser"

I've done that, and it works, however, how does this work on a production website, or in an xampp instance? If npm is installed (it is), shouldn't it work by just going to the html file in xampp? It's not working, what do I do?

### Your Proposal for Changes

Documentation on running this on a production website.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.