How to run
Closed this issue · 4 comments
gotshadowbantempaccount commented
.use(require('markdown-it-spoiler')) ? return error
sapphi-red commented
Yes.
It should work.
Please try to provide a minimum reproduce.
gotshadowbantempaccount commented
try also: $ npm i @traptitech/markdown-it-spoiler --save
This dependency was not found:
- /markdown-it-spoiler in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/Editor.vue
To install it, you can run: npm install --save /markdown-it-spoiler
sapphi-red commented
I got it.
.use(require('markdown-it-spoiler'))
is not correct.
You should do
.use(require('@traptitech/markdown-it-spoiler'))
gotshadowbantempaccount commented
ok solved when install by $ npm i @traptitech/markdown-it-spoiler it dosnt save to node_modules folder when copy it manually it star to work strange thx