After the vue plug-in is released, it cannot be used after download.

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:

clipboard.png

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?

Apr.23,2021

check whether your gitignore ignores dist?


I have the same problem. The packaged file cannot be used

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b30393-2bcfd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b30393-2bcfd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?