Commit Graph

10 Commits

Author SHA1 Message Date
Nicola Krumschmidt
051df415df Fix extensions (#6377)
* Add support for npm extensions

* Allow extensions to import vue from the main app

* Bundle app extensions on server startup

* Fix return type of useLayoutState

* Add shared package

* Add extension-sdk package

* Add type declaration files to allow deep import of shared package

* Add extension loading to shared

* Refactor extension loading to use shared package

* Remove app bundle newline replacement

* Fix extension loading in development

* Rename extension entrypoints

* Update extension build instructions

* Remove vite auto-replacement workaround

* Update package-lock.json

* Remove newline from generated extension entrypoint

* Update package-lock.json

* Build shared package as cjs and esm

* Move useLayoutState composable to shared

* Reverse vite base env check

* Share useLayoutState composable through extension-sdk

* Update layout docs

* Update package versions

* Small cleanup

* Fix layout docs

* Fix imports

* Add nickrum to codeowners

* Fix typo

* Add 'em to vite config too

* Fix email

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-23 12:43:06 -04:00
Nicola Krumschmidt
4f9ae6591e Add workaround for vite auto-replacement in docs (#6284) 2021-06-15 10:55:20 -04:00
Rijk van Zanten
9f2feee602 Temp remove process env usage in docs (#6261) 2021-06-14 14:04:25 -04:00
Nicola Krumschmidt
4fc5ba6259 Update the app extension docs to work with Vue 3 (#6232) 2021-06-14 10:40:33 -04:00
Nicola Krumschmidt
726420576b Fix extension build documentation (#5065) 2021-04-14 22:18:02 +00:00
Maarten Docter
82fdd120c8 Clarify extension folders and Rollup configuration tip (#4626) 2021-03-22 19:45:09 -04:00
Matthias
af90adc882 Update docs for custom-interfaces. (#4511)
Add a plain string editor as code example.
2021-03-12 15:58:59 -05:00
asteinarson
8030890d5b Update interfaces.md (#4393)
* Update interfaces.md

vue-template-compiler => rollup-plugin-vue@next 
It resolves rollup halting with error

* Update other extension types as well

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-05 10:30:53 -05:00
rijkvanzanten
8d67cffdbb Add note on interface groups
Ref #4256
2021-02-24 09:24:58 -05:00
Rijk van Zanten
817ccf3620 Overhaul docs (#3951)
* Add Quickstart Guide

* Update installation

* Remove unused files

* Update support/backing

* Tweaks in concepts

* Setup file structure for API reference 2.0

* Setup page layout for reference

* Add clean-urls plugin

* getting started updates

* Finish authentication rest

* getting started updates

* Render stylus in 2 spaces

* Various

* Various

* Finish activity docs

* Add collections reference

* Add extension reference

* concepts updates

* Fields/tweaks

* Add files doc

* Add revisions

* concepts docs

* More api reference

* Finish rest api reference (finally)

* initial concepts

* More things

* Add assets api ref

* Move sections from file to assets

* Add environment variables

* contributing docs

* Add field transforms page

* Left align table headers

* concept links

* Add API config

* Fix mobile nav

* Add migrating a project

* doc link fixes

Co-authored-by: Ben Haynes <ben@rngr.org>
2021-02-05 18:51:54 -05:00