useAudioPlayer icon indicating copy to clipboard operation
useAudioPlayer copied to clipboard

refactor(examples): using Vite to refactor examples.

Open lcandy2 opened this issue 1 year ago • 3 comments

  • Use npm instead of yarn to minimize potential Cannot resolve dependency errors
  • Using package.json, list the required packages in it
  • Using Vite for Faster Packaging
  • This pr is aim to help make examples more modern and easier to publish online
  • Wrote README within the example

lcandy2 avatar Mar 23 '24 04:03 lcandy2

hey @lcandy2 thanks for the examples revamp! On the package.json change, any reason you think we shouldn't still use the installed node_modules from the project root with the alias field as the current package.json does?

E-Kuerschner avatar Mar 24 '24 20:03 E-Kuerschner

Yeah, that makes sense, I’m going to use npm workspace to make this example alias the current repo exists.

lcandy2 avatar Mar 29 '24 13:03 lcandy2

Yeah, that makes sense, I’m going to use npm workspace to make this example alias the current repo exists.

@lcandy2, great! Once that tweak is pushed up we can get this improvement in. Thanks again

E-Kuerschner avatar Apr 01 '24 23:04 E-Kuerschner