diff --git a/index.html b/index.html index 88404a7..a7cb3c5 100644 --- a/index.html +++ b/index.html @@ -1,47 +1,26 @@ - - - - - - Vaderjs v1.3.3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - + + + + + + + Vaderjs v1.3.3 + + + + + + + +
+ + + + \ No newline at end of file diff --git a/pages/docs/index.js b/pages/docs/index.js index 4861a80..3b30488 100644 --- a/pages/docs/index.js +++ b/pages/docs/index.js @@ -1,6 +1,6 @@ -let { Component, useState } = await import(Vader.root + '//vader.js') -let { Nav } = await import(Vader.root + '/src/Nav.js') -let { Home } = await import(Vader.root + '/src/pages/docs/overview/index.js') +import { Component, useState } from '/vader.js' +import { Nav }from '/src/Nav.js' +import { Home } from '/src/pages/docs/overview/index.js' window.Vader['docs'] = { 'overview': { @@ -22,8 +22,8 @@ class Index extends Component { let p = this.request.query.page ? `/docs/${this.request.query.page}` : '/docs/getting-started' this.request.query.subpage ? p = p + '/' + this.request.query.subpage : '' - let [/** @type {*} */path, setPath] = this.useState('path', p) - + let [/** @type {*} */path, setPath] = this.useState('path', p) + @@ -40,14 +40,14 @@ class Index extends Component {
  • Getting Started
  • Installation
  • Project Structure
  • Routing
  • Deployment
  • @@ -106,7 +106,7 @@ class Index extends Component {