glory icon indicating copy to clipboard operation
glory copied to clipboard

fix import path in demo

Open beenotung opened this issue 4 years ago • 1 comments
trafficstars

To allow importing without the dist directory, you may publish the dist directory to npm (instead of the root directory). If using this approach, you will need to update the "main" and "typings"/"types" field in the package.json (and copy the package.json to the dist folder, and cd to that folder before running "npm publish")

beenotung avatar Nov 04 '21 06:11 beenotung

You may take reference on https://www.npmjs.com/package/mk-package

beenotung avatar Nov 04 '21 06:11 beenotung