on master help sign in
Use unpkg to get TodoMVC's CSS
13de5e6Nick Fitzgerald
examples/todomvc/README.md−3
@@ -21,9 +21,6 @@ most important are:
21## Build
21## Build
22
22
23```
23```
24−# Get the TodoMVC CSS styles.
25−npm install
26−
27wasm-pack build --target no-modules
24wasm-pack build --target no-modules
28```
25```
29
26
examples/todomvc/css/app.cssdeleted−8
@@ -1,8 +0,0 @@
1−/*
2−
3−app-template.css overrides
4−
5−remove this comment if used
6−remove this file if not
7−
8−*/
examples/todomvc/index.html+2−2
@@ -4,8 +4,8 @@
4 <meta charset="utf-8">
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <title>dodrio • TodoMVC</title>
6 <title>dodrio • TodoMVC</title>
7− <link rel="stylesheet" href="node_modules/todomvc-common/base.css">
7+ <link rel="stylesheet" href="https://unpkg.com/todomvc-common@^1.0.0/base.css">
8− <link rel="stylesheet" href="node_modules/todomvc-app-css/index.css">
8+ <link rel="stylesheet" href="https://unpkg.com/todomvc-app-css@^2.0.0/index.css">
9 </head>
9 </head>
10 <body>
10 <body>
11 <section class="todoapp">
11 <section class="todoapp">
examples/todomvc/package-lock.jsondeleted−16
@@ -1,16 +0,0 @@
1−{
2− "requires": true,
3− "lockfileVersion": 1,
4− "dependencies": {
5− "todomvc-app-css": {
6− "version": "2.1.2",
7− "resolved": "https://registry.npmjs.org/todomvc-app-css/-/todomvc-app-css-2.1.2.tgz",
8− "integrity": "sha512-WgXLWY4snfC7yBkpzFb6xRmUbB06NGuji6njCByte0byW2DUpmyhh32o4sCQ8HX/pTwm71huKQlFiKYxR/2iVQ=="
9− },
10− "todomvc-common": {
11− "version": "1.0.5",
12− "resolved": "https://registry.npmjs.org/todomvc-common/-/todomvc-common-1.0.5.tgz",
13− "integrity": "sha512-D8kEJmxVMQIWwztEdH+WeiAfXRbbSCpgXq4NkYi+gduJ2tr8CNq7sYLfJvjpQ10KD9QxJwig57rvMbV2QAESwQ=="
14− }
15− }
16−}
examples/todomvc/package.jsondeleted−7
@@ -1,7 +0,0 @@
1−{
2− "private": true,
3− "dependencies": {
4− "todomvc-app-css": "^2.0.0",
5− "todomvc-common": "^1.0.0"
6− }
7−}