Skip to content

Commit f211598

Browse files
author
Fabio Benedetti
committed
- edit Options (add ssr, displayName and rootCheck)
- add SSR example
1 parent ed3f020 commit f211598

21 files changed

+11408
-29
lines changed

example/.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

example/.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
dist/
2+
node_modules/
3+
4+
# OS generated files #
5+
######################
6+
.AppleDouble/
7+
.DS_Store
8+
.DS_Store?
9+
._*
10+
.Spotlight-V100
11+
.Trashes
12+
.idea
13+
*.happypack*
14+
ehthumbs.db
15+
Thumbs.db
16+
npm-debug.log

example/README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# typescript-plugin-styled-components SSR example
2+
3+
## Getting Started
4+
5+
- Build `typescript-plugin-styled-components`
6+
7+
```
8+
$ cd ..
9+
```
10+
11+
```
12+
$ npm i
13+
```
14+
15+
```
16+
$ npm run build
17+
```
18+
19+
- Run example
20+
21+
```
22+
$ cd example
23+
```
24+
25+
```
26+
$ npm i
27+
```
28+
29+
```
30+
$ npm run dev
31+
```
32+
33+
Note: see [`ttypescript`](https://github.com/cevek/ttypescript) if you want to compile the server without webpack

0 commit comments

Comments
 (0)