This project is webgl demo contains a lot of WebGL features like particle system, terrain and etc. And this project is using the es6-starter-kit as the es6-starter.
1. webgl THREE.js terrian features
2. particle system demo (need to modify the code)
npm install
npm run dev
npm run build
- ES6 Support via babel-loader
- SASS Support via sass-loader
- Linting via eslint-loader
- Hot Module Replacement
When you run npm run build
we use the extract-text-webpack-plugin to move the css to a separate file and included in the head of your index.html
, so that the styles are applied before any javascript gets loaded. We disabled this function for the dev version, because the loader doesn't support hot module replacement.