Giter Site home page Giter Site logo

electron-demo's Introduction

electron-demo

Ext JS / Electron Helpers and Example App

Setup

Complete the following steps to get the workspace fully initialized.

1. Install Ext JS

Get Ext JS 6.2.0 and unzip it in a directory:

$ mkdir ~/sencha-frameworks
$ cd ~/sencha-frameworks
$ unzip ext-6.2.0-commercial.zip

You will now have a "sencha-frameworks/ext-6.2.0" directory.

(You can use any folder you like, but "~/sencha-frameworks" is convenient).

Run The setup Script

If you are on Mac OS X or Linux, run this command first (at the root directory):

$ chmod +x ./setup

Now to reinitialize the Sencha Cmd workspace and application, run this command:

$ ./setup ~/sencha-frameworks

Run

To run the example application, do the following from the root directory:

$ npm run app

electron-demo's People

Contributors

dongryphon avatar kkrohe avatar

Stargazers

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

Watchers

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

electron-demo's Issues

ext-electron package shouldn't break applications while running in a browser

When requiring/mixin ext-electron packages within a current Ext JS application, it shouldn't break when running in a browser. Instead it should check if running in electron, before loading native stuff.

I solved it by adding to Manager.js, Dialog.js, FilePicker.js, FolderField.js the following check:

  if(window && window.process) {
   // current electron implementation
  } else {
     Ext.define('Ext.electron.Dialog',  {});
 }

I couldn't run electron demo

Hi,

After type this `npm run app',

[INF] Processing Build Descriptor : default
[WRN] Failed to resolve package ext-electron
[ERR] The following error occurred while executing this line:
[dir]/electron-demo/app/build.xml:8: Cannot find [dir]/electron-demo/app/.sencha/app/build-impl.xml imported from [dir]/electron-demo/app/build.xml

I couldn't find app/.sencha/app directory also...

Do you have any idea?

Cannot find build-impl.xml imported from build.xml

I'm running this on windows, using ext 6.2.0 and sencha cmd 6.2.0.103

With npm and/or yarn.

The setup script error with ".../build.xml:8: Cannot find .../app/.sencha/app/build-impl.xml imported from .../ap/build.xml"

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.