mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
chore(examples): remove Snowpack example
As of April 2022, Snowpack is no longer maintained. Vite is the recommended alternative.
Ref: 45456aa149
This commit is contained in:
parent
1b239b6178
commit
c2a72a9d6d
9 changed files with 0 additions and 3084 deletions
|
@ -225,7 +225,6 @@ export default {
|
|||
## Examples
|
||||
|
||||
- [examples/rollup](examples/rollup/)
|
||||
- [examples/snowpack](examples/snowpack/)
|
||||
- [examples/sveltekit](examples/sveltekit/)
|
||||
- [examples/vite](examples/vite/)
|
||||
- [examples/webpack](examples/webpack/)
|
||||
|
|
3
examples/snowpack/.gitignore
vendored
3
examples/snowpack/.gitignore
vendored
|
@ -1,3 +0,0 @@
|
|||
/.snowpack
|
||||
/build
|
||||
/node_modules
|
|
@ -1,6 +0,0 @@
|
|||
<script>
|
||||
import "carbon-components-svelte/css/white.css";
|
||||
import { Button } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<Button>Primary button</Button>
|
|
@ -1,12 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="Snowpack App" />
|
||||
<title>snowpack</title>
|
||||
</head>
|
||||
<body>
|
||||
<script type="module" src="/index.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,5 +0,0 @@
|
|||
import App from "./App.svelte";
|
||||
|
||||
const app = new App({ target: document.body });
|
||||
|
||||
export default app;
|
|
@ -1,16 +0,0 @@
|
|||
{
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "snowpack dev",
|
||||
"build": "snowpack build"
|
||||
},
|
||||
"dependencies": {
|
||||
"svelte": "^3.49.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@snowpack/plugin-svelte": "^3.7.0",
|
||||
"carbon-components-svelte": "^0.67.1",
|
||||
"carbon-preprocess-svelte": "^0.9.1",
|
||||
"snowpack": "^3.8.8"
|
||||
}
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
/** @type {import("snowpack").SnowpackUserConfig } */
|
||||
module.exports = {
|
||||
plugins: ["@snowpack/plugin-svelte"],
|
||||
};
|
|
@ -1,5 +0,0 @@
|
|||
const { optimizeImports } = require("carbon-preprocess-svelte");
|
||||
|
||||
module.exports = {
|
||||
preprocess: [optimizeImports()],
|
||||
};
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue