Giter Club home page Giter Club logo

vuepress-plugin-element-ui's Introduction

Version License

Vuepress plugin - extend Element UI base on markdown-it-container

Docs

https://lq782655835.github.io/vuepress-plugin-element-ui/

Install

Important: This plugin requires VuePress >= 1.0.0, for now you can try it via yarn add vuepress@next -D

yarn add vuepress-plugin-element-ui -D
// .vuepress/config.js
module.exports = {
  plugins: [
    'element-ui'
  ]
}

Usage

:::: el-tabs

::: el-tab-pane label=title
__markdown content__
:::


::: el-tab-pane label=javascript
``` javascript
() => {
  console.log('Javascript code example')
}
```
:::

::::

vuepress-plugin-element-ui's People

Contributors

lq782655835 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vuepress-plugin-element-ui's Issues

按照安装说明,插件不生效

vuepress 1.3.1

初始化vuepress项目,启动访问 localhost:8080,it run ok. Hello VuePress!

然后,按照此插件官网说明,安装并配置 config.js ,plugins

module.exports = {
  plugins: ["element-ui"]
};

docs/README.md

# Hello VuePress!

:::: el-tabs
::: el-tab-pane label=markdown

- vue
  - vue-cli
  - nuxt
  - vuepress
- react
  - create-react-app
  - nest
    :::
    ::: el-tab-pane label=javascript

```javascript
() => {
  console.log("Javascript code example");
};

:::
::::

标签一
标签二
标签三
标签四
标签五

 element-ui 插件未生效.

Steps not working as expected

No matter how I try to replicate the Element-UI steps it doesn't work and will only display a single steps like shown below:

image

添加了插件,重新编译,网站无法正常拉起了

网站原来是可以正常运行的,安装了插件后,编译运行,日志显示都OK,但是无法展示首页;
Vuepress: 1.5.4

plugins: [
        ['element-ui'],
        [ '@vuepress/google-analytics', {
            'ga': 'UA-149848419-1'
        }],
]

去掉插件后,网站就可以正常显示了

An error was encountered in plugin "element-ui"

部署时报错:

warning Invalid value for "plugin": expected a String, Function or Object but got Undefined.
warning An error was encountered in plugin "element-ui"

然后完全不生效.
提交完这个issue就去研究一下自己实现element-ui的引入了.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.