Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
132f3545
Commit
132f3545
authored
Aug 13, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added docs for Web IDE Client Evaluation
Closes #50143
parent
00c474ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
0 deletions
+32
-0
doc/user/project/web_ide/img/admin_clientside_evaluation.png
doc/user/project/web_ide/img/admin_clientside_evaluation.png
+0
-0
doc/user/project/web_ide/img/clientside_evaluation.png
doc/user/project/web_ide/img/clientside_evaluation.png
+0
-0
doc/user/project/web_ide/index.md
doc/user/project/web_ide/index.md
+32
-0
No files found.
doc/user/project/web_ide/img/admin_clientside_evaluation.png
0 → 100644
View file @
132f3545
8.12 KB
doc/user/project/web_ide/img/clientside_evaluation.png
0 → 100644
View file @
132f3545
82.6 KB
doc/user/project/web_ide/index.md
View file @
132f3545
...
...
@@ -72,5 +72,37 @@ leaving the Web IDE. Click the dropdown in the top of the sidebar to open a list
of branches. You will need to commit or discard all your changes before
switching to a different branch.
## Clientside Evaluation
> [Introduced in](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/19764) [GitLab Core][ce] 11.2.
The Web IDE can be used to preview JavaScript projects right in the browser. This
feature uses CodeSandbox to compile and bundle the JavaScript used to preview.
On public projects, a
`Open in CodeSandbox`
button visible which will take
the files and contents of the project and load it into a CodeSandbox project.
**Note**
this button is not visible on private or internal projects.
![
Web IDE Clientside Evaluation
](
img/clientside_evaluation.png
)
### Enabling Clientside Evaluation
The Clientside Evaluation feature needs to be enabled inside of the GitLab instances
admin settings.
![
Admin Clientside Evaluation setting
](
img/admin_clientside_evaluation.png
)
Once it has been enabled in application settings, projects with a
`package.json`
file
and a
`main`
entry point can be previewed inside of the Web IDE. An example
`package.json`
is below.
```
json
{
"main"
:
"index.js"
,
"dependencies"
:
{
"vue"
:
"latest"
}
}
```
[
ce
]:
https://about.gitlab.com/pricing/
[
ee
]:
https://about.gitlab.com/pricing/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment