Comments (10)
和#47 是一个问题。
试一下字体loader 配置是否有问题,更改后再重新运行试试。
{
test: /\.(eot|woff|woff2|ttf|svg)(\?\S*)?$/,
use: [{
loader: 'url-loader',
options: {
limit: 5000,
name: 'font/[name]-[hash:8].[ext]'
}
}]
}
from vue-easytable.
还是不起作用,还是报一样的错误
from vue-easytable.
还是不起作用,还是报一样的错误
让我很苦恼啊,我自己安装测试没问题,把你的webpack 配置贴出来我看看
from vue-easytable.
base.conf.js
var path = require('path')
var utils = require('./utils')
var config = require('../config')
var vueLoaderConfig = require('./vue-loader.conf')
const vuxLoader = require('vux-loader')
var webpack = require('webpack')
function resolve (dir) {
return path.join(__dirname, '..', dir)
}
const webpackConfig = {
entry: {
app: './src/main.js'
},
output: {
path: config.build.assetsRoot,
filename: '[name].js',
publicPath: process.env.NODE_ENV === 'production'
? config.build.assetsPublicPath
: config.dev.assetsPublicPath
},
resolve: {
extensions: ['.js', '.vue', '.json'],
alias: {
'vue$': 'vue/dist/vue.esm.js',
'@': resolve('src'),
'jquery': 'jquery'
}
},
module: {
rules: [
/{
test: /.(js|vue)$/,
loader: 'eslint-loader',
enforce: "pre",
include: [resolve('src'), resolve('test')],
options: {
formatter: require('eslint-friendly-formatter')
}
},/
{
test: /.vue$/,
loader: 'vue-loader',
options: vueLoaderConfig
},
{
test: /.js$/,
loader: 'babel-loader',
include: [resolve('src'), resolve('test')]
},
{
test: /.css$/,
loader: "style-loader!css-loader"
},
{
test: /.less$/,
loader: "style-loader!css-loader!less-loader"},
{
test: /.(png|jpe?g|gif|svg)(?.)?$/,
loader: 'url-loader',
query: {
limit: 10000,
name: utils.assetsPath('img/[name].[hash:7].[ext]')
}
},
{
test: /.(woff2?|eot|ttf|otf)(?.)?$/,
loader: 'url-loader',
query: {
limit: 10000,
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
}
}
]
}
}
module.exports = vuxLoader.merge(webpackConfig, {
options: {},
plugins: [
{
name: 'vux-ui'
},
{
name: 'duplicate-style',
events: {
done: function () {
console.log('done!')
}
}
},
{
name: 'script-parser',
fn: function (source) {
return source.replace('VARIABLE', 'v2')
}
},
{
name: 'style-parser',
fn: function (source) {
return source.replace('black', 'white')
}
},
new webpack.ProvidePlugin({
$: "jquery",
jQuery: "jquery"
})
]
})
from vue-easytable.
@JJBreak
你需要加入字体类型 ‘woff’,然后再试下
from vue-easytable.
{
test: /.(woff2?|eot|ttf|otf)(?.)?$/,
loader: 'url-loader',
query: {
limit: 10000,
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
}
},
{
test: /.(eot|woff|woff2|ttf|svg)(?\S)?$/,
use: [{
loader: 'url-loader',
options: {
limit: 5000,
name: 'font/[name]-[hash:8].[ext]'
}
}]
}
from vue-easytable.
还是不起作用
from vue-easytable.
不是,还是用你的配置,只不过加一个字体类型
{
test: /.(eot|woff|woff2|ttf|svg)(?\S)?$/,
loader: 'url-loader',
query: {
limit: 10000,
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
}
},
from vue-easytable.
还是不行 我把css直接引入到页面了 但是如何引入滚动条事件
from vue-easytable.
@ALL
已修复,已发布
https://github.com/huangshuwei/vue-easytable/releases/tag/1.5.11
from vue-easytable.
Related Issues (20)
- [Feature Request] 希望可以增加表格数据导出功能
- [Feature Request] 希望增加行固定功能
- [Bug Report] 使用单元格选择组件后,合并某两行单元格,点击单元格会重复渲染 HOT 1
- ⚠ 🔴☘️Vue3版本的有吗 HOT 5
- [Bug Report] 选中合并的单元格出现样式异常 HOT 3
- [Feature Request] 能否支持vue3
- [Bug Report] 开始虚拟滑动,点击滑动图标,快速滑动,会出现白屏
- [Feature Request] Drag/Drop Columns
- [Bug Report] 快速滚动时会白屏
- [Feature Request] 自定义右键菜单
- [Feature Request] 支持tree
- [Feature Request] 为什么右键菜单没有粘贴呢?
- [Feature Request] 因为我个人项目上需要用到 excel,所以将该应用适配到 vue3 HOT 4
- [Feature Request] 有没有办法修改或者禁用键盘的某些键位的操作
- [Feature Request] 支持自定义复制 粘贴 撤销 恢复 功能方法
- [Feature Request] 基于 vue-easytable + Typescript,适配该组件库到 Vue3 HOT 1
- [Feature Request] 支持树形数据
- [Bug Report] Paste导致数据类型转换了
- [Feature Request] AutoScroll feature while using autofill
- [Bug Report] 文档错误
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 vue-easytable.