WIP
This commit is contained in:
parent
243b48be8e
commit
cf0545a7b8
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"liveServer.settings.port": 5501
|
||||||
|
}
|
||||||
|
|
@ -77,11 +77,11 @@ var app = new Vue({
|
||||||
this.sections = sections.getDefaultSections();
|
this.sections = sections.getDefaultSections();
|
||||||
|
|
||||||
//-- Register all components
|
//-- Register all components
|
||||||
components.registerComponents();
|
pageComponents.registerComponents();
|
||||||
|
|
||||||
//-- Get the component for the initial route path
|
//-- Get the component for the initial route path
|
||||||
var initialRoute = this.$route.path;
|
var initialRoute = this.$route.path;
|
||||||
var component = components.getComponentByPath(initialRoute);
|
var component = pageComponents.getComponentByPath(initialRoute);
|
||||||
this.setActivePageByComponent(component);
|
this.setActivePageByComponent(component);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -486,7 +486,7 @@ var app = new Vue({
|
||||||
this.selectMenuItemForCurrentUrl();
|
this.selectMenuItemForCurrentUrl();
|
||||||
|
|
||||||
// Set the current page details based on the component mapped to the active route.
|
// Set the current page details based on the component mapped to the active route.
|
||||||
var component = components.getComponentByPath(to.fullPath);
|
var component = pageComponents.getComponentByPath(to.fullPath);
|
||||||
this.setActivePageByComponent(component);
|
this.setActivePageByComponent(component);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
* Register and manage all components.
|
* Register and manage all components.
|
||||||
* This is not a part of VueJS. It is a helper so we can easily access information about each component.
|
* This is not a part of VueJS. It is a helper so we can easily access information about each component.
|
||||||
*/
|
*/
|
||||||
var components = {
|
var pageComponents = {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -134,9 +134,6 @@
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
|
||||||
All information is automatically saved in your browser as you type, which means you can close your browser, come back tomorrow and everything will be as you left it.
|
|
||||||
</p>
|
|
||||||
<p>
|
<p>
|
||||||
See it in action now. Copy a resume from <a href="https://gist.github.com/jsnelders/cab89beb9bc0e677ef3f5ec30ef4260b">https://gist.github.com/jsnelders/cab89beb9bc0e677ef3f5ec30ef4260b</a>.
|
See it in action now. Copy a resume from <a href="https://gist.github.com/jsnelders/cab89beb9bc0e677ef3f5ec30ef4260b">https://gist.github.com/jsnelders/cab89beb9bc0e677ef3f5ec30ef4260b</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue