# Documentation example
# vuepress-github-pages-example
VuePress GitHub Pages quick documentation example
You can run npm scripts outside npm project folder:
npx degit daggerok/vuepress-github-pages-example app && cd $_
npm i -C docs
npm start -C docs
npm run dev -C docs
npm run build-github-pages -C docs
or quick getting started in target project:
npx degit daggerok/vuepress-github-pages-example /tmp/app
mv /tmp/app/.github ./
mv /tmp/app/docs ./
npm i -C docs
npm start -C docs
npm run dev -C docs
npm run build-github-pages -C docs
# Code Snippets
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class Application
fun main(args: Array<String>) {
runApplication<Application>(*args) {
setRegisterShutdownHook(true)
}
}
This file can be found here: src/main/kotlin/daggerok/App.kt