Graphite/website/other/bezier-rs-demos
Keavon Chambers 5c7211cb30 Fix bezier-rs interactive demos page build system 2023-05-26 17:14:31 -07:00
..
public Bezier-rs: Replace Vue-CLI with Webpack bundler 2023-03-29 16:58:51 -07:00
src Bezier-rs: Replace Vue-CLI with Webpack bundler 2023-03-29 16:58:51 -07:00
wasm Implement the Brush without relying on a stamp texture 2023-04-29 01:31:14 +02:00
.eslintrc.js Bezier-rs: Replace Vue-CLI with Webpack bundler 2023-03-29 16:58:51 -07:00
.gitignore Bezier-rs: Replace Vue-CLI with Webpack bundler 2023-03-29 16:58:51 -07:00
README.md Bezier-rs: Replace Vue-CLI with Webpack bundler 2023-03-29 16:58:51 -07:00
package-lock.json Fix bezier-rs interactive demos page build system 2023-05-26 17:14:31 -07:00
package.json Fix bezier-rs interactive demos page build system 2023-05-26 17:14:31 -07:00
tsconfig.json Bezier-rs: Replace Vue-CLI with Webpack bundler 2023-03-29 16:58:51 -07:00
webpack.config.js Fix bezier-rs interactive demos page build system 2023-05-26 17:14:31 -07:00

README.md

Bezier-rs interactive documentation

Open these interactive docs: https://graphite.rs/libraries/bezier-rs/

This page also serves isolated demos for iframes used in the Rustdoc crate documentation.

Building and running

From this directory, first execute npm install to install the required Node dependencies. Then...

  • To run the development server with hot reloading:

    npm start
    
  • To compile an unoptimized development build (like above, but it writes the files instead of serving them):

    npm run build
    
  • To compile an optimized production build:

    # WSL/Mac/Linux terminals:
    npm run build-prod-unix
    
    # Windows terminals:
    npm run build-prod-windows
    

When a build is compiled, the entire ./public folder is the output containing both the static index.html, etc., plus the generated build/ folder.