Skip to content

Instantly share code, notes, and snippets.

@boriscy
Last active September 9, 2022 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boriscy/b529b5aecedc3ba24e3aa501f5aa9b82 to your computer and use it in GitHub Desktop.
Save boriscy/b529b5aecedc3ba24e3aa501f5aa9b82 to your computer and use it in GitHub Desktop.

resolve: (name) =>

# page
Module
  default: clas Features
  template: class Pages
  pageLayout: class Pages
  
'''

> setup({el, App, props})

```yaml
# App

class App extends svelte_internal__WEBPACK_IMPORTED_MODULE_0__["SvelteComponent"] {
	constructor(options) {
		super();
		Object(svelte_internal__WEBPACK_IMPORTED_MODULE_0__["init"])(this, options, instance…
# props
initialComponent:
  # Same as page
initialPage:
  component: "Static/Features"
  props: {errors: Array(0), flash: {…}, plan: {…}, current_user: {…}, recaptcha_site_key_v3: '6Lf9wsIZAAAAAGD8TpgKa2CZA4woTcOgqVllDI0N'}
  url: "/features"
  version: null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment