Comments (6)
确认下package.json中安装的vuepress是1.x版本,element-ui插件是基于1.x版本(vuepress v0.x与1.x改动很大),readme中有备注
yarn add vuepress-plugin-element-ui -D
如果还没成功,可查看本项目example源码,该案例就是使用vuepress + vuepress-plugin-element-ui实现。
from vuepress-plugin-element-ui.
版本应该没问题,目前怀疑是某些依赖找不到...我再研究一下
from vuepress-plugin-element-ui.
I have the same issue.
Here is the extract from my package.json
:
"devDependencies": {
"chalk": "^2.0.0",
"commander": "^2.0.0",
"esm": "^3.0.0",
"markdown-it-container": "latest",
"markdown-it-mermaid": "^0.2.5",
"markdown-it-vuepress-code-snippet-enhanced": "^1.0.1",
"vuepress": "^1.4.0",
"vuepress-plugin-element-ui": "^1.0.2",
"vuepress-plugin-one-click-copy": "^1.0.2",
},
I get the same error.
from vuepress-plugin-element-ui.
Also, I changed your docs to use the package instead of referencing the plugin from the repo and the error is there again.
from vuepress-plugin-element-ui.
The issue that in the package.json
for this module the main
should be src/index.js
and not it is index.js
from vuepress-plugin-element-ui.
@alexeyzimarev thanks,I have corrected the bug。
Thanks again
from vuepress-plugin-element-ui.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuepress-plugin-element-ui.