Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace 'keep-ssr component with @appscode/vue-ssr` #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions components/KeepSsr.vue

This file was deleted.

2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"net/http"

_ "github.com/shurcooL/vfsgen"
"github.com/appscode/nuxt-go/web"
_ "github.com/shurcooL/vfsgen"
"gopkg.in/macaron.v1"
)

Expand Down
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
"go": "npm run generate && go run *.go"
},
"dependencies": {
"nuxt": "^2.0.0",
"@appscode/vue-ssr": "0.0.1",
"@nuxtjs/axios": "^5.3.6",
"@nuxtjs/bulma": "^1.2.1",
"@nuxtjs/axios": "^5.3.6"
"nuxt": "^2.0.0"
},
"devDependencies": {
"eslint-config-prettier": "^6.10.0",
Expand Down
8 changes: 4 additions & 4 deletions pages/templates/go.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
>
Documentation
</a>
<keep-ssr wrapper-id="test-button">
<ssr eid="test-button">
<a
v-pre
href="https://github.com/nuxt/nuxt.js"
Expand All @@ -26,15 +26,15 @@
>
{{ .HostedOn }}
</a>
</keep-ssr>
</ssr>
</div>
</div>
</div>
</template>

<script>
import Logo from '~/components/Logo.vue'
import KeepSsr from "@/components/KeepSsr";
import Ssr from "@appscode/vue-ssr";
export default {
data() {
return {
Expand All @@ -43,7 +43,7 @@ export default {
},
components: {
Logo,
KeepSsr
Ssr
},
}
</script>
Expand Down
Loading