Version 1.0
Native Markup Language (NML) is a markup language derived from SGML, designed to represent composable UI frameworks. This specification defines the conversion from SwiftUI to NML.
When serving NML documents:
import SwiftUI | |
import LiveViewNative | |
@LiveElement | |
struct WebView<Root: RootRegistry>: View { | |
var body: some View { | |
WebView(url: URL(string: "http://example.net")).ignoresSafeArea() | |
} | |
} |
Version 1.0
Native Markup Language (NML) is a markup language derived from SGML, designed to represent composable UI frameworks. This specification defines the conversion from SwiftUI to NML.
When serving NML documents:
I'd like to vet two scenarios:
Add these deps:
{:live_view_native, github: "liveview-native/live_view_native", branch: "main", override: true},
{:live_view_native_stylesheet, github: "liveview-native/live_view_native_stylesheet", branch: "main", override: true},
** (MatchError) no match of right hand side value: {:error, {{:EXIT, {:undef, [{Comet.ChromeWorker, :start_link, [[name: :"test get object"]], []}, {:supervisor, :do_start_child, 2, [file: 'supervisor.erl',line: 365]}, {:supervisor, :handle_start_child, 2, [file: 'supervisor.erl', line: 724]}, {:supervisor, :handle_call, 3, [file: 'supervisor.erl', line: 422]}, {:gen_server, :try_handle_call, 4, [file: 'gen_server.erl', line: 615]}, {:gen_server, :handle_msg, 5, [file: 'gen_server.erl', line: 647]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 247]}]}}, {:child, :undefined, Comet.ChromeWorker, {Comet.ChromeWorker, :start_link, [[name: :"test get object"]]}, :permanent, 5000, :worker, [Comet.ChromeWorker]}}} |
upstream phoenix { | |
server 127.0.0.1:4000; | |
} | |
server { | |
myapp.com | |
location @phoenix { | |
include proxy_params; | |
proxy_redirect off; |
➜ high-tide-app git:(master) ✗ ember build | |
⠸ Buildingbroccoli-babel-transpiler is opting out of caching due to a plugin that does not provide a caching strategy: `function () { | |
return { | |
visitor: { | |
VariableDeclaration: function VariableDeclaration(path, file) { | |
var node = path.node, | |
parent = path.parent, | |
scope = path.scope; | |
if (!isBlockScoped(node)) return; |