Socket
Socket
Sign inDemoInstall

addsveltecms

Package Overview
Dependencies
158
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    addsveltecms

Add svelteCMS to your svelte kit project.


Version published
Maintainers
1
Created

Readme

Source

Package to add svelteCMS to your svelte kit project

Step 1: create a svelteKit project
npm create svelte@latest appName
cd appName

create svelte kit

Make sure you select TypeScript

Since svelteCMS uses TypeScript to auto generate routes and routes objects types

create svelte kit

Next, choose your app config

create svelte kit

Or just add svelteCMS to an existing using npx

npx sveltecms-init

Init takes some optionals params

# The connection url to your mongoDB database
--dbUrl=mongodb_url
# Example
npx sveltecms-init --dbUrl=mongodb+srv://someUrl:<password>-@user.mongodb.net/
Step 2: run npx command
npx sveltecms-init
# or pass your mongodb url
npx sveltecms-init --dbUrl=mongodb_url

Keywords

FAQs

Last updated on 22 Nov 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc