Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rustwasm/rust-webpack-template
Kickstart your Rust, WebAssembly, and Webpack project!
https://github.com/rustwasm/rust-webpack-template
Last synced: 6 days ago
JSON representation
Kickstart your Rust, WebAssembly, and Webpack project!
- Host: GitHub
- URL: https://github.com/rustwasm/rust-webpack-template
- Owner: rustwasm
- License: apache-2.0
- Created: 2018-07-30T23:08:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-09-03T16:37:00.000Z (over 1 year ago)
- Last Synced: 2025-01-08T02:01:17.207Z (13 days ago)
- Language: JavaScript
- Size: 486 KB
- Stars: 573
- Watchers: 12
- Forks: 76
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
rust-webpack-template
Kickstart your Rust, WebAssembly, and Webpack project!
Tutorial
|
Chat
Built with 🦀🕸 by The Rust and WebAssembly Working Group
## About
This template is designed for creating monorepo-style Web applications with
Rust-generated WebAssembly and Webpack without publishing your wasm to NPM.[**📚 Read this template's tutorial! 📚**][template-docs]
Be sure to check out [other `wasm-pack` tutorials online][tutorials] for other
templates and usages of `wasm-pack`.[tutorials]: https://rustwasm.github.io/docs/wasm-pack/tutorials/index.html
[template-docs]: https://rustwasm.github.io/docs/wasm-pack/tutorials/hybrid-applications-with-webpack/index.html## 🚴 Using This Template
You can use `npm init` to clone this template:
```sh
npm init rust-webpack my-app
```[Afterwards check out the full documentation for exploring it][template-docs].
## 🔋 Batteries Included
This template comes pre-configured with all the boilerplate for compiling Rust
to WebAssembly and hooking into a Webpack build pipeline.* `npm start` -- Serve the project locally for development at
`http://localhost:8080`. It auto-reloads when you make any changes.* `npm run build` -- Bundle the project (in production mode).
* `npm test` -- Run the project's unit tests.