mirror of https://github.com/aldy505/code.git
fix: setups
This commit is contained in:
parent
d3130365af
commit
1ee4df3a3d
|
@ -14,6 +14,6 @@
|
||||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|
||||||
<script src="/src/index.jsx" type="module"></script>
|
<script src="/pages/index.jsx" type="module"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -4,8 +4,8 @@
|
||||||
"description": "Website for code.reinaldyrafli.com",
|
"description": "Website for code.reinaldyrafli.com",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "nuxt",
|
"dev": "vite",
|
||||||
"generate": "nuxt generate",
|
"generate": "vite build",
|
||||||
"lint": "eslint --fix --ext .vue,.js --ignore-path .gitignore .",
|
"lint": "eslint --fix --ext .vue,.js --ignore-path .gitignore .",
|
||||||
"postinstall": "husky install"
|
"postinstall": "husky install"
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,6 +3,7 @@ import solidPlugin from 'vite-plugin-solid';
|
||||||
import windiCSS from 'vite-plugin-windicss';
|
import windiCSS from 'vite-plugin-windicss';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
publicDir: '/static',
|
||||||
plugins: [solidPlugin(), windiCSS()],
|
plugins: [solidPlugin(), windiCSS()],
|
||||||
build: {
|
build: {
|
||||||
target: 'esnext',
|
target: 'esnext',
|
||||||
|
|
Loading…
Reference in New Issue