Skip to content

Commit

Permalink
Rename all references from static to ssg
Browse files Browse the repository at this point in the history
  • Loading branch information
freddy38510 committed Mar 9, 2020
1 parent 7d18e66 commit f6f9bea
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "quasar-app-extension-static",
"name": "quasar-app-extension-ssg",
"version": "0.0.1",
"description": "Generate a static app from your universal app (ssr mode)",
"author": "freddy38510 <freddyescobar@hotmail.fr>",
Expand Down
4 changes: 2 additions & 2 deletions src/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Generator {

this.ssr = ssr

this.routes = require(api.resolve.app('src-static/routes.js'))()
this.routes = require(api.resolve.app('src-ssg/routes.js'))()

this.rendererOptions = this.setRendererOptions(api, quasarConf)

Expand All @@ -42,7 +42,7 @@ class Generator {
}

setRendererOptions (api, quasarConf) {
const rendererOptions = require(api.resolve.app('src-static/rendererOptions.js'))()
const rendererOptions = require(api.resolve.app('src-ssg/rendererOptions.js'))()

if (rendererOptions.clientManifest && typeof rendererOptions.clientManifest === 'function') {
const clientManifest = require(`${quasarConf.build.distDir}/vue-ssr-client-manifest.json`)
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit f6f9bea

Please sign in to comment.