# wasm_canvas **Repository Path**: yn36/wasm_canvas ## Basic Information - **Project Name**: wasm_canvas - **Description**: xc-app webAssembly 项目 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-25 - **Last Updated**: 2021-07-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # wasm-vue [WebAssembly Series](https://github.com/lencx/z/discussions/22) ## Quick Start ### Step1 ```bash npm install ``` ### Step2 edit `vite.config.ts` ```js // ... ViteRsw({ crates: [ // https://github.com/lencx/vite-plugin-rsw#plugin-options 'wasm-test', // custom package name ] }), ``` ### Step3 ```bash npm run dev ``` ## Remote Deployment ### Step1 edit `.rswrc.json` ```json { "root": ".", "crates": [ // https://github.com/lencx/rsw-node#step2 "wasm-test" // package name, same as `vite.config.ts` ] } ``` ### Step2 ```bash npm run rsw:deploy ```