Comments (5)
请提供具体的引入代码和报错信息。
from element.
在main.js 中如下代码,全局引入组件
import Vue from 'vue'
import Element from 'element-ui'
Vue.use(Element)
而后某个vue 文件中使用,
浏览器报错:
vue.common.js?e881:2503[Vue warn]: You are using the runtime-only build of Vue where the template option is not available. Either pre-compile the templates into render functions, or use the compiler-included build. (found in component <ElButton>)
请问是否还要其他配置?
from element.
请确认一下项目中 element-ui 的版本是 1.0.0-rc.1,如果不是,需要使用
npm install element-ui@next
from element.
可以了。thanks
from element.
@bigezhang 你是怎么解决的?
这是我的 报错信息
我的 webpack 还需要配置那些? 你可以把你的配置发出来么?
from element.
Related Issues (20)
- [Feature Request] 【优化建议】Input为 textarea 高度重新计算问题 HOT 1
- tooltip can't close
- [Bug Report] 你们怎么想到这样定输入值type的,怎么就这么聪明呢 HOT 2
- [Bug Report] 单页HTML应用模式下级联组件设置懒加载属性为vue方法时无法正确调用
- Element el-select-v2 in system IOS (Safari)
- [Bug Report] Cascader 级联选择器,使用filterable筛选功能时,getCheckedNodes()方法无法获取到选择的节点,返回空数组
- [Feature Request] Upload to fold multiple images or videos
- [Bug Report] 表格严重bug,表格初始化的时候,加载过程表格变形严重,2.15.6版本不存在这个问题 HOT 3
- element UI Utils still uses lodash 4.17.10
- [Bug Report] Cascader 级联选择器 动态加载功能bug
- [Bug Report] tree组件disabled状态会影响节点checked显示效果
- [Bug Report] el-cascader There is no problem in the empty icon in the disabled state
- tree table need v-model specail data for user
- el-image使用preview-src-list默认点击蒙层关闭,为啥2.0没有开关控制,3.0有啊
- [Bug Report] el-table-column slot="header"中使用el-input存在输入bug HOT 1
- [Bug Report] 在el-table 的 header 插槽中使用 el-input 输入延迟 HOT 5
- [Feature Request] el-tooltip的类型检测,能否支持对象?
- element-ui DateTimePicker format 日期格式化问题 HOT 1
- [Bug Report] el-table使用了fixed固定列后的影响 HOT 1
- [Bug Report] table多级表格中某列的子列固定,其余子列不固定,会导致不设置固定属性的子列内容渲染为空
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 element.