https://github.com/alkamin/pixijs-template
Pixi.js + Webpack + Babel
https://github.com/alkamin/pixijs-template
babel pixijs webpack
Last synced: about 1 year ago
JSON representation
Pixi.js + Webpack + Babel
- Host: GitHub
- URL: https://github.com/alkamin/pixijs-template
- Owner: alkamin
- Created: 2018-12-31T14:52:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-28T06:52:47.000Z (over 3 years ago)
- Last Synced: 2025-03-25T02:01:39.626Z (about 1 year ago)
- Topics: babel, pixijs, webpack
- Language: JavaScript
- Size: 223 KB
- Stars: 5
- Watchers: 0
- Forks: 3
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pixijs-template
Pixi.js + Webpack + Babel
A minimal starting point for experiments with Pixi.js using Webpack and Babel to get the latest ES features.
## Usage
Clone the repository to use it as a starting point for your own Pixi.js experiments and then remove the remote to clear the way for your own git repo usage
1) `git clone git@github.com:alkamin/pixijs-template.git some-pixi-experiment`
2) `cd some-pixi-experiment`
3) `npm run reinit`
The entry point is `src/index.js` which already has a Pixi.js app initialized.
### Assets
All assets are placed in the `src/assets/` directory and will be available to the app at `assets/`.
### Scripts
* `npm run start` - start the development server
* `npm run build` - build a deployable bundle
* `npm run reinit` - after cloning the repo, run this command to re-initialize the repository for your own project