Skip to content

gfowley/cordova_opal_webpack_vue_onsen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a472fbb · Oct 15, 2018

History

16 Commits
Oct 15, 2018
Sep 14, 2018
Oct 1, 2018
Sep 28, 2018
Sep 14, 2018
Sep 14, 2018
Oct 15, 2018
Oct 1, 2018
Sep 14, 2018
Oct 15, 2018
Oct 15, 2018
Sep 17, 2018
Oct 1, 2018
Sep 14, 2018
Oct 15, 2018
Oct 15, 2018
Sep 14, 2018
Sep 17, 2018

Repository files navigation

Usage:

# 1
# build app from www to platforms/browser/www  
# cordova build = cordova prepare + compile
# cordova hook before_prepare runs scripts/before_prepare.js -> rake webpack:build to create bundle in www/js

cordova build

# 2a
# option: run cordova browser app from platforms/browser/www

cordova run browser

# 2b
# option: develop app with webpack and directory platforms/browser/www
# watches app, lib for changes to .rb files
# browser auto reloads page
# servers from www first, platforms/browser/www second
# changes in www (html, css, js) available upon manual page reload

rake webpack:server

# Opal REPL available in lib
# require 'repl' from .rb 

require 'repl'

# run repl directly

REPL.run

# open repl on exception

REPL.rescue do
  raise 'ops!'
end


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published