EasyUI Forum
October 03, 2022, 06:28:25 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: how to use @vue/cli 3 initialize easyui  (Read 6508 times)
fengdie
Jr. Member
**
Posts: 86


View Profile Email
« on: July 31, 2018, 02:48:45 AM »

how to use @vue/cli 3 initialize easyui
Logged
jarry
Administrator
Hero Member
*****
Posts: 2120


View Profile Email
« Reply #1 on: July 31, 2018, 11:33:13 PM »

Please look at this documentation https://www.jeasyui.com/documentation4/index.php
Logged
fengdie
Jr. Member
**
Posts: 86


View Profile Email
« Reply #2 on: August 01, 2018, 08:36:45 AM »

vx-easyui source code compile failed.
Code:
Module Warning (from ./node_modules/eslint-loader/index.js):
error: '$event' is defined but never used (no-unused-vars) at src/easyui/src/components/calendar/Calendar.js:184:25:
  182 |     },
  183 |     methods: {
> 184 |         onDayClick(day, $event){
      |                         ^
  185 |             //event.stopPropagation();
  186 |             if (this.isValid(day)){
  187 |                 this.yearState = day[0];


error: '$event' is defined but never used (no-unused-vars) at src/easyui/src/components/calendar/Calendar.js:192:33:
  190 |             }
  191 |         },
> 192 |         onMonthClick(monthName, $event){
      |                                 ^
  193 |             event.stopPropagation();
  194 |             let index = this.months.indexOf(monthName);
  195 |             if (index >= 0){


2 errors found.

Module Warning (from ./node_modules/eslint-loader/index.js):
error: 'DomHelper' is defined but never used (no-unused-vars) at src/easyui/src/components/datagrid/DataGridBody.js:13:10:
  11 | import GridBody from '../gridbase/GridBody';
  12 | import DataGridTable from './DataGridTable';
> 13 | import { DomHelper } from '../base/DomHelper';
     |          ^
  14 |
  15 | export const DATAGRIDBODY_TEMPLATE = `
  16 | <div ref="bodyRef" class="datagrid-body f-full" style="margin-top:0"
Logged
jarry
Administrator
Hero Member
*****
Posts: 2120


View Profile Email
« Reply #3 on: August 01, 2018, 06:25:37 PM »

Please disable the eslint, or download a newer version from your download link and try again.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!