We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We must keep app.js very clean and edit the mishka_chelekom_components.js file.
app.js
mishka_chelekom_components.js
For example:
// assets/vendor/components.js import CopyMixInstallationHook from "./mixCopy.js"; import CopyColorInstallationHook from "./colorCopy.js"; const Components = { CopyMixInstallationHook, CopyColorInstallationHook, }; export default Components;
And inside app.js
// assets/js/app.js import Components from "../vendor/components.js"; let liveSocket = new LiveSocket("/live", Socket, { hooks: { ...Hooks, ...Components },
igniter_js
exist_live_socket/2
exist_live_socket?/2
extend_hook_object/3
insert_imports/3
module_imported/3
module_imported?/3
remove_imports/3
remove_objects_from_hooks/3
statistics/2
exs
[ some_component: [ name: "some_component", args: [ variant: [], color: [], size: [], rounded: [], type: [], only: [], helpers: [], module: "" ], optional: [], necessary: [], scripts: [ %{type: :file, file: "some_component.js", imports: "SomeComponent"}, %{type: :file, file: "another_component.js", imports: "SomeComponent"}, %{type: :npm, name: "some-npm-package", imports: "SomeComponent"} ] ] ]
The text was updated successfully, but these errors were encountered:
The exs file should be like this:
[ combobox: [ name: "combobox", args: [ color: [ "base", "white", "primary", "secondary", "dark", "success", "warning", "danger", "info", "silver", "misc", "dawn" ], size: ["extra_small", "small", "medium", "large", "extra_large"], rounded: ["extra_small", "small", "medium", "large", "extra_large"], only: ["combobox"], helpers: [], module: "" ], optional: [], necessary: [], scripts: [ %{ type: "file", file: "combobox.js", module: "Combobox", imports: "import Combobox from \"./combobox.js\";" } ] ] ]
Sorry, something went wrong.
shahryarjb
Successfully merging a pull request may close this issue.
We must keep
app.js
very clean and edit themishka_chelekom_components.js
file.For example:
And inside
app.js
What we need from
igniter_js
projectapp.js
has this module as an imported module or notWhat functions we have now
exist_live_socket/2
exist_live_socket?/2
extend_hook_object/3
insert_imports/3
module_imported/3
module_imported?/3
remove_imports/3
remove_objects_from_hooks/3
statistics/2
exs
config for adding js fileThe text was updated successfully, but these errors were encountered: