Skip to content

Commit e5ce42a

Browse files
committed
feat: import vuejs
1 parent 9ff3b98 commit e5ce42a

File tree

12 files changed

+541
-303
lines changed

12 files changed

+541
-303
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[*.js]
2+
quote_type = single
3+
end_of_line = lf
4+
insert_final_newline = true
5+
indent_style = space
6+
indent_size = 2
7+
trim_trailing_whitespace = true
8+
9+
[*.ts]
10+
quote_type = single
11+
end_of_line = lf
12+
insert_final_newline = true
13+
indent_style = space
14+
indent_size = 2
15+
trim_trailing_whitespace = true

examples/todomvc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
}).mount('#app')
133133
</script>
134134

135-
<div id="app" @mounted="setupRouting" v-effect="save()" v-cloak>
135+
<div id="app" @vue:mounted="setupRouting" v-effect="save()" v-cloak>
136136
<section class="todoapp">
137137
<header class="header">
138138
<h1>todos</h1>

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "petite-vue",
3-
"version": "0.4.1",
3+
"version": "0.6",
44
"description": "5kb subset of Vue optimized for progressive enhancement",
55
"files": [
66
"dist"
@@ -17,7 +17,7 @@
1717
},
1818
"types": "./dist/types/index.d.ts",
1919
"scripts": {
20-
"dev": "vite",
20+
"dev": "vite --port 2475",
2121
"build": "vite build && tsc --emitDeclarationOnly && mv dist/src dist/types",
2222
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
2323
"release": "node scripts/release.js"
@@ -36,7 +36,6 @@
3636
},
3737
"homepage": "https://github.com/vuejs/petite-vue#readme",
3838
"devDependencies": {
39-
"@vue/reactivity": "^3.2.27",
4039
"@vue/shared": "^3.2.27",
4140
"chalk": "^4.1.1",
4241
"conventional-changelog-cli": "^2.1.1",
@@ -45,6 +44,8 @@
4544
"prettier": "^2.3.0",
4645
"semver": "^7.3.5",
4746
"typescript": "^4.4.3",
48-
"vite": "^2.7.12"
47+
"vite": "^2.7.12",
48+
"vite-plugin-cdn-externals": "^1.1.5",
49+
"vue": "^3.2.47"
4950
}
5051
}

0 commit comments

Comments
 (0)