0.2.0 • Published 3 years ago

vue-cdk v0.2.0

Weekly downloads
81
License
SoftChef
Repository
github
Last release
3 years ago

Install

npm install vue-cdk

Import Vue CDK

// JavaScript
const VueCdk = require('vue-cdk')
or
const { VueDeployment } = require('vue-cdk')

// TypeScript
import * as from 'vue-cdk
or 
import { VueDeployment } from 'vue-cdk'

Create Vue stack

// Create Vue stack in your CDK project
const vue = new VueDeployment(this, 'VueJsWebsite', {
  source: 'Your Vue project',
  websiteDirectoryPrefix: 'website'
})
// Output CloudFront distribution domain
new cdk.CfnOutput(this, 'WebsiteURL', {
  value: `https://${vue.cloudfrontDistribution.distributionDomainName}`
})
0.2.0

3 years ago

0.1.17

3 years ago

0.1.18

3 years ago

0.1.15

3 years ago

0.1.16

3 years ago

0.1.14

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago