Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
f378448b
Commit
f378448b
authored
Apr 27, 2018
by
Tony Kovanen
Committed by
Tim Neutkens
Apr 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
with-reasonml: use default exports (#4217)
parent
4d9eb200
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
12 deletions
+5
-12
package.json
examples/with-reasonml/package.json
+3
-3
about.js
examples/with-reasonml/pages/about.js
+0
-4
about.re
examples/with-reasonml/pages/about.re
+1
-1
index.js
examples/with-reasonml/pages/index.js
+0
-3
index.re
examples/with-reasonml/pages/index.re
+1
-1
No files found.
examples/with-reasonml/package.json
View file @
f378448b
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
"name"
:
"with-reasonml"
,
"name"
:
"with-reasonml"
,
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"scripts"
:
{
"scripts"
:
{
"dev"
:
"
concurrently
\"
bsb -clean-world -make-world -w
\"
\"
next -w
\"
"
,
"dev"
:
"
bsb -clean-world -make-world && next dev lib/js
"
,
"build"
:
"bsb -clean-world -make-world && next build"
,
"build"
:
"bsb -clean-world -make-world && next build
lib/js
"
,
"start"
:
"
bsb -clean-world -make-world && next start -w
"
"start"
:
"
next start lib/js
"
},
},
"license"
:
"ISC"
,
"license"
:
"ISC"
,
"dependencies"
:
{
"dependencies"
:
{
...
...
examples/with-reasonml/pages/about.js
deleted
100644 → 0
View file @
4d9eb200
import
{
jsComponent
as
About
}
from
'./About.re'
import
React
from
'react'
export
default
()
=>
<
About
/>
examples/with-reasonml/pages/
A
bout.re
→
examples/with-reasonml/pages/
a
bout.re
View file @
f378448b
...
@@ -10,4 +10,4 @@ let make = (_children) => {
...
@@ -10,4 +10,4 @@ let make = (_children) => {
</div>
</div>
};
};
let jsComponent = ReasonReact.wrapReasonForJs(~component, (_jsProps) => make([||]));
let default = ReasonReact.wrapReasonForJs(~component, (_jsProps) => make([||]));
\ No newline at end of file
examples/with-reasonml/pages/index.js
deleted
100644 → 0
View file @
4d9eb200
import
{
jsComponent
as
Index
}
from
'./Index.re'
export
default
()
=>
<
Index
/>
examples/with-reasonml/pages/
I
ndex.re
→
examples/with-reasonml/pages/
i
ndex.re
View file @
f378448b
...
@@ -10,4 +10,4 @@ let make = (_children) => {
...
@@ -10,4 +10,4 @@ let make = (_children) => {
</div>
</div>
};
};
let jsComponent = ReasonReact.wrapReasonForJs(~component, (_jsProps) => make([||]));
let default = ReasonReact.wrapReasonForJs(~component, (_jsProps) => make([||]));
\ No newline at end of file
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