Files
speckle-server/packages/frontend
Dimitrie Stefanescu 18f0140465 fix(viewer/frontend): fixes aspect ratio refresh and camera NaN position on ze
this was a really fustrating debug session: because we're setting `display:none` on the renderer dom
element if the vue renderer comp is destroyed (to keep one instance alive always), this would
trigger the on window resize function. In turn, this would set the camera aspect ratio from a div
thats 0x0px. Needless to say, things would refuse to work thereafterwards and a full page refresh
would be needed to reinstantiate the renderer.
2021-11-23 23:23:24 +00:00
..
2021-10-16 19:43:36 +01:00

The Speckle Frontend App

Twitter Follow Community forum users website docs

Disclaimer

We're working to stabilize the 2.0 API, and until then there will be breaking changes.

Notes:

  • In development mode, the Speckle Server will proxy the frontend from localhost:3000 to localhost:8080. If you don't see anything, ensure you've run npm run serve in the frontend package.

  • In production mode, the Speckle Frontend will be statically served by nginx (see the Dockerfile in the current directory).

Documentation

Comprehensive developer and user documentation can be found in our:

📚 Speckle Docs website

Project setup

The frontend now includes the viewer. Until we get to publish it as a separate module, there's a few extra steps:

  • make sure you build the Speckle Viewer
  • afterwards, run
    lerna bootstrap
    

Compiles and hot-reloads for development

npm run serve

Packaging for production

If you plan to package the frontend to use in a production setting, see our Server deployment instructions (chapter Run your speckle-server fork)

Community

If in trouble, the Speckle Community hangs out on the forum. Do join and introduce yourself! We're happy to help.

License

Unless otherwise described, the code in this repository is licensed under the Apache-2.0 License. Please note that some modules, extensions or code herein might be otherwise licensed. This is indicated either in the root of the containing folder under a different license file, or in the respective file's header. If you have any questions, don't hesitate to get in touch with us via email.