mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-11-23 10:14:08 +03:00
Fixed some old docs links and created init version of realworld app.
This commit is contained in:
parent
199b28a474
commit
bf363c0791
@ -10,7 +10,7 @@
|
||||
[![Build Status](https://ci.appveyor.com/api/projects/status/github/wasp-lang/wasp?branch=master&svg=true)](https://ci.appveyor.com/project/Martinsos/wasp/branch/master)
|
||||
|
||||
- [**Project page**](https://wasp-lang.dev)
|
||||
- [**Docs**](https://wasp-lang.github.io/web/docs)
|
||||
- [**Docs**](https://wasp-lang.dev/docs)
|
||||
|
||||
<br>
|
||||
|
||||
@ -53,10 +53,10 @@ Why is Wasp awesome:
|
||||
- **Flexible**: When you need more control than Wasp offers, you can write code in existing technologies such as js/html/css/... and combine it with Wasp code!
|
||||
- **No lock-in**: If Wasp becomes too limiting for you, simply eject and continue with the generated source code, which is human-readable.
|
||||
|
||||
For more information about Wasp, check [**docs**](https://wasp-lang.github.io/web/docs).
|
||||
For more information about Wasp, check [**docs**](https://wasp-lang.dev/docs).
|
||||
|
||||
# Get started
|
||||
Check out [the docs](https://wasp-lang.github.io/web/docs/language/getting-started).
|
||||
Check out [the docs](https://wasp-lang.dev/docs/tutorials/getting-started).
|
||||
|
||||
# This repository
|
||||
|
||||
|
1
examples/realworld/.gitignore
vendored
Normal file
1
examples/realworld/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/.wasp/
|
1
examples/realworld/.wasproot
Normal file
1
examples/realworld/.wasproot
Normal file
@ -0,0 +1 @@
|
||||
File marking the root of Wasp project.
|
7
examples/realworld/ext/MainPage.js
Normal file
7
examples/realworld/ext/MainPage.js
Normal file
@ -0,0 +1,7 @@
|
||||
import React from 'react'
|
||||
|
||||
const MainPage = () => {
|
||||
return <p>Hello world!</p>
|
||||
}
|
||||
|
||||
export default MainPage
|
8
examples/realworld/main.wasp
Normal file
8
examples/realworld/main.wasp
Normal file
@ -0,0 +1,8 @@
|
||||
app realworld {
|
||||
title: "realworld"
|
||||
}
|
||||
|
||||
route "/" -> page Main
|
||||
page Main {
|
||||
component: import Main from "@ext/MainPage.js"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
|
||||
This directory contains source code of the `wasp` compiler (aka `waspc`), and this README is aimed at the contributors to the project.
|
||||
|
||||
If you are a Wasp user and not a contributor (yet :)), you might want to look into following resources instead ([**Project page**](https://wasp-lang.dev), [**Docs**](https://wasp-lang.github.io/web/docs)).
|
||||
If you are a Wasp user and not a contributor (yet :)), you might want to look into following resources instead ([**Project page**](https://wasp-lang.dev), [**Docs**](https://wasp-lang.dev/docs)).
|
||||
|
||||
|
||||
## First time contributor checklist
|
||||
@ -94,7 +94,7 @@ NOTE: Reload page if blank.
|
||||
In the future we will add automatic integration tests, but for now it is manual.
|
||||
6. When all is ready, squash commits into one commit (or a few if that makes sense) and create a PR.
|
||||
Keep an eye on CI tests -> they should all be passing, if not, look into it.
|
||||
7. If your PR changes how users(Waspers) use Wasp, make sure to also create a PR that will update the documentation, which is in a [separate repo](https://wasp-lang.github.io/web/docs/language/getting-started).
|
||||
7. If your PR changes how users(Waspers) use Wasp, make sure to also create a PR that will update the documentation, which is in a [separate repo](https://wasp-lang.dev/docs/tutorials/getting-started).
|
||||
8. Work with reviewer(s) to get the PR approved.
|
||||
Keep adding fix commits until PR is approved, then again squash them all into one commit.
|
||||
9. Reviewer will merge the branch into `master`. Yay!
|
||||
@ -228,7 +228,7 @@ NOTE: If building of your commit is suddenly taking much longer time, it might b
|
||||
|
||||
|
||||
## Documentation
|
||||
External documentation, for users of Wasp, is hosted in [separate repo](https://wasp-lang.github.io/web/docs/language/getting-started).
|
||||
External documentation, for users of Wasp, is hosted in [separate repo](https://wasp-lang.dev/docs/tutorials/getting-started).
|
||||
|
||||
Make sure to update it when changes modify how Wasp works.
|
||||
|
||||
|
@ -41,9 +41,9 @@ createNewProject projectName = do
|
||||
++ (Term.applyStyles [Term.Bold] "wasp start")
|
||||
++ "' to run the app."
|
||||
putStrLn ""
|
||||
putStrLn "Check the docs for any further information: https://wasp-lang.github.io/web/docs."
|
||||
putStrLn "Check the docs for any further information: https://wasp-lang.dev/docs."
|
||||
putStrLn $ "If you are new to Wasp, we recommend starting with Todo App tutorial:"
|
||||
++ " https://wasp-lang.github.io/web/docs/tutorials/todo-app."
|
||||
++ " https://wasp-lang.dev/docs/tutorials/todo-app."
|
||||
|
||||
where
|
||||
mainWaspFileInWaspProjectDir :: Path (Rel Common.WaspProjectDir) File
|
||||
|
Loading…
Reference in New Issue
Block a user