Skip to content

Commit 3c01725

Browse files
committed
Vue 3 SSR Example
1 parent 6a443b9 commit 3c01725

14 files changed

+12339
-40
lines changed

.gitignore

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
# Node modules
1+
.DS_Store
22
node_modules
3+
/dist
34

4-
# .env files
5-
.env.*
65

7-
# Log files
8-
*.log
6+
# local env files
7+
.env.local
8+
.env.*.local
99

10-
# Filesystem descriptors
11-
.DS_Store
10+
# Log files
11+
npm-debug.log*
12+
yarn-debug.log*
13+
yarn-error.log*
14+
pnpm-debug.log*
1215

1316
# Editor directories and files
1417
.idea
@@ -17,11 +20,4 @@ node_modules
1720
*.ntvs*
1821
*.njsproj
1922
*.sln
20-
*.sw*
21-
22-
# Use either yarn.lock or package-lock.json
23-
# Uncomment one of them to mainain a single lockfile
24-
# package-lock.json
25-
# yarn.lock
26-
27-
## Project-specific files
23+
*.sw?

README.md

Lines changed: 33 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,58 @@
1-
# Project Name
1+
# Vue 3 Server Side Rendering Example
22

33
[![MIT Licensed](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](./LICENSE)
44
[![Powered by Modus_Create](https://img.shields.io/badge/powered_by-Modus_Create-blue.svg?longCache=true&style=flat&logo=data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzIwIDMwMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNOTguODI0IDE0OS40OThjMCAxMi41Ny0yLjM1NiAyNC41ODItNi42MzcgMzUuNjM3LTQ5LjEtMjQuODEtODIuNzc1LTc1LjY5Mi04Mi43NzUtMTM0LjQ2IDAtMTcuNzgyIDMuMDkxLTM0LjgzOCA4Ljc0OS01MC42NzVhMTQ5LjUzNSAxNDkuNTM1IDAgMCAxIDQxLjEyNCAxMS4wNDYgMTA3Ljg3NyAxMDcuODc3IDAg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A1NC41NTcgMCA5OS42NjUtNDAuMzczIDEwNy4xMy05Mi44Njh6IiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz4KPC9zdmc+)](https://moduscreate.com)
5+
[![Run on Repl.it](https://repl.it/badge/github/moduslabs/vue3-example-ssr)](https://repl.it/github/moduslabs/vue3-example-ssr)
56

6-
Project description - one or two paragraphs. The enemy is dark and creates major problems. The solution is now available and the World can rejoice.
7+
Example project that demonstrates the new Vue 3 Server Side Rendering APIs and Capabilities. Please follow the video turorial for more information.
78

8-
- [Getting Started](#getting-started)
9-
- [How it Works](#how-it-works)
10-
- [Developing](#developing)
11-
- [Prerequisites](#prerequisites)
12-
- [Testing](#testing)
13-
- [Contributing](#contributing)
14-
- [Modus Create](#modus-create)
15-
- [Licensing](#licensing)
9+
Follow us on
10+
11+
<a href="https://youtube.com/moduscreate?sub_confirmation=1"><img src="https://img.shields.io/badge/youtube-%23FF0000.svg?&style=for-the-badge&logo=youtube&logoColor=white" /></a>
12+
13+
### Server Side Rendering with Vue.js 3
14+
15+
[![Server Side Rendering with Vue.js 3](https://img.youtube.com/vi/XJfaAkvLXyU/0.jpg)](https://youtu.be/XJfaAkvLXyU)
1616

1717
# Getting Started
1818

19-
{Minimal steps required for a quick software trial.}
19+
Test in:
2020

21-
```js
22-
import { Fantastico } from '@modus/awesome-solution';
21+
- Repl.it: [https://repl.it/@Modus/vue3-example-ssr](https://repl.it/@Modus/vue3-example-ssr)
2322

24-
const amazing = new Fantastico();
23+
### Project setup
2524

26-
export default amazing;
25+
```
26+
npm install
2727
```
2828

29-
# How it works
29+
### Create a server-side-rendered build
3030

31-
{Describe how it works. Include images if possible.}
31+
```
32+
npm run ssr
33+
```
3234

33-
# Developing
35+
### Compiles and hot-reloads for development
3436

35-
{Show how engineers can set up a development environment and contribute.}
37+
```
38+
npm run serve
39+
```
3640

37-
## Prerequisites
41+
### Compiles and minifies for production
3842

39-
{Explain the prerequisites}
43+
```
44+
npm run build
45+
```
4046

41-
## Testing
47+
### Lints and fixes files
4248

43-
{Notes on testing}
49+
```
50+
npm run lint
51+
```
4452

45-
## Contributing
53+
### Customize configuration
4654

47-
{How can the community contribute}
55+
See [Configuration Reference](https://cli.vuejs.org/config/).
4856

4957
# Modus Create
5058

babel.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/cli-plugin-babel/preset'
4+
]
5+
}

0 commit comments

Comments
 (0)