Browse Source

feat: change default config

YuKun Liu 3 years ago
parent
commit
dfcf4e1f88
2 changed files with 8 additions and 4 deletions
  1. 1 1
      README.md
  2. 7 3
      src/assets/dioxus.toml

+ 1 - 1
README.md

@@ -1,5 +1,5 @@
 <div align="center">
-  <h1>📦✨  dioxus-cli </h1>
+  <h1>📦✨ Dioxus CLI </h1>
   <p><strong>Tooling to supercharge dioxus projects</strong></p>
 </div>
 

+ 7 - 3
src/assets/dioxus.toml

@@ -19,6 +19,8 @@ asset_dir = "public"
 # HTML title tag content
 title = "dioxus | ⛺"
 
+index_on_404 = true
+
 [web.watcher]
 
 watch_path = ["src"]
@@ -45,10 +47,12 @@ script = []
 binaryen = { wasm_opt = true }
 
 # use sass auto will auto check sass file and build it.
-[application.tools.sass]
+
+
+# [application.tools.sass]
 
 # auto will check the assets dirs, and auto to transform all scss file to css file.
-input = "*"
+# input = "*"
 
 # or you can specify some scss file -> css file
 # input = [
@@ -57,4 +61,4 @@ input = "*"
 #     "/css/test.scss"
 # ]
 
-source_map = true
+# source_map = true