Graphite/website/other/bezier-rs-demos
Dennis Kobert d2450b4d61
Refactor Graphite dependency management (#1455)
* Refactor Graphite dependency management

* Remove deprecated future executor

* Code review nits

* Remove unused dependencies

* Update dependencies and make compile with all features

* Replace use of future_executor with wasm-bindgen-futures

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2023-12-04 12:39:55 +01:00
..
public Bezier-rs: Replace Vue-CLI with Webpack bundler 2023-03-29 16:58:51 -07:00
src Fix Bezier-rs interactive demo page build failure 2023-11-16 15:21:15 -08:00
wasm Refactor Graphite dependency management (#1455) 2023-12-04 12:39:55 +01:00
.eslintrc.js Restore ESLint and Prettier auto-formatting and CI linting (#1457) 2023-11-16 13:12:47 -08: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 demo page build failure 2023-11-16 15:21:15 -08: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.