npm install -g @vue/clirustup target add wasm32-unknown-unknown --toolchain nightlycargo +nightly install wasm-bindgen-cli
cd csv2sqlcargo +nightly build --target wasm32-unknown-unknownwasm-bindgen target/wasm32-unknown-unknown/debug/csv2sql.wasm --out-dir ..\ui\src\csv2sql\
cd ../uinpm inpm run servefor developmentnpm run buildfor production
npm run test
npm run lint
Depending on where the project will be hosted you should update the configuration in vue.config.js
publicPath: process.env.NODE_ENV === 'production'
? '' //here the relative path e.g. if you plan to host it in github pages [username].github.io/[repoName], the value if true should be [repoName]
: ''Navigate into the ui directory and run
npm run build