Giter Site home page Giter Site logo

drada07 / sveltekit-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from daison12006013/sveltekit-starter

0.0 0.0 0.0 1.47 MB

Admin Dashboard for SvelteKit

Home Page: https://sveltekit-windmill-admin.vercel.app

Shell 0.09% JavaScript 2.19% TypeScript 43.53% CSS 1.18% HTML 0.10% Svelte 52.90%

sveltekit-starter's Introduction

SvelteKit Projects

The copy of this branch should have at least the v1.15.10 of @sveltejs/kit

./run and src/route.js

Dynamic way of serving the ./src/routes/admin, we've added a condition inside our start/route.js to pre-determine the folder we want.

# this demonstrates a fake logged in
$> ./run admin dev
$> ./run admin-in dev

# this demonstrates a fake logged out
$> ./run admin-out dev

# this connects to your laravel sanctum
$> ./run admin-laravel-sanctum dev

The above command is similar to what it looks like below

$> ROUTE_FOLDER=admin npm run dev

We've stored more route projects, such as the original demo of sveltekit and my own resumé blog

# this demonstrates my bio and resumé
$> ./run blog dev

# this demonstrates the original sveltekit counter + todo
$> ./run demo dev

Playwright Test Cases

When writing a test cases, rule of thumb is to name your tests with/by specific words, such as "demo:"

// tests/demo.js
test('demo: about page has expected h1', async ({ page }) => {
 // ...
});

Then you can run specific folders by executing it this way

./run demo test -- -g "demo:"

Demo

Framework Specific Guidelines

Disclaimer

Project Sponsors

sveltekit-starter's People

Contributors

daison12006013 avatar jorgemndoza avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.