Graphite/website/other/bezier-rs-demos
0HyperCube b881385e3b
Update wasm-bindgen, syn and wgpu (#1398)
2023-08-23 14:53:56 +00: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 Update wasm-bindgen, syn and wgpu (#1398) 2023-08-23 14:53:56 +00: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 Add auto deployment infrastructure for website 2023-08-16 12:58:42 -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.