wrote a vue toast plug-in: vue-cli 3. 0
used by vue-toast-arif
, but not available after publishing to npm.
after careful inspection, it is found that there is a package.json path problem
first of all, my directory structure is:
package.json is written as follows
1%",
"last 2 versions",
"not ie <= 8"
]
}
if you write the main field as:
"main": "src/lib/index.js"
and then package and publish it, what"s the use of packaging?
I think we should refer to the packaged file. Could you tell me how to write here?