Pode
ReleasesGitHub
  • Introduction
  • Getting Started
    • Installation
    • CLI
    • Docker
    • Frontend
  • Tutorials
    • Routes
  • Functions
    • Attach
    • Engine
    • Listen
    • Server
    • Status
    • View
Powered by GitBook
On this page
  • Using Yarn
  • Build via Pode
  1. Getting Started

Frontend

You can host web-pages using Pode, and to help you can also use package managers like yarn to install frontend libraries - like bootstrap.

Using Yarn

The following will install Yarn onto your machine:

choco install yarn -y
yarn init

Once installed, you can use Yarn to download frontend libraries. The libraries will be added to a package.json file - which if you're using the Pode CLI, you'll already have in place.

To install frontend libraries, you could use the following:

yarn add bootstrap
yarn add lodash

Build via Pode

Once you've added some libraries you can use pode install to trigger yarn. This will tell yarn to install the packages to a pode_modules directory.

Other useful packages could include gulp, jquery, moment, etc.

PreviousDockerNextRoutes

Last updated 6 years ago